Re: magicdev for gnome2
- From: Owen Taylor <otaylor redhat com>
- To: Bastien Nocera <hadess hadess net>
- Cc: GNOME Desktop Hackers <desktop-devel-list gnome org>
- Subject: Re: magicdev for gnome2
- Date: Thu, 16 May 2002 15:15:49 -0400 (EDT)
Bastien Nocera <hadess hadess net> writes:
> On Thu, 2002-05-16 at 17:35, Owen Taylor wrote:
> >
> > Bastien Nocera <hadess hadess net> writes:
> >
> > > Heya,
> > >
> > > I ported magicdev to gnome2. Here's a list of changes:
> > >
> > > - use intltool
> > > - remove usage of goad/corba
> > > - gconfified (gconfied sounds like it's too short)
> > > - use gnome-vfs-monitor to check fstab and mtab (with polling fallback
> > > as well)
> > > - make use of the CDROM_MEDIA_CHANGED ioctl if the drive supports it.
> > >
> > > Posted the patch on my website. Can I commit ?
> > >
> > > http://hadess.net/files/patches/magicdev-gnome2-port.patch
> >
> > Can you file a bug and attach it? I don't know when I'll get to it,
> > but I will do so sometime within the next few months.
> >
> > (Sigh, yes, that's a long time. I know. The above changes sound
> > reasonable, except for the gnome-vfs-monitor stuff; since we have
> > to wake up anyways to check the device, it seems like major
> > overkill to use gnome-vfs-monitor.)
>
> We wake up to check the device, true. But if you use devfs, checking the
> device doesn't make a hard disk access. Hitting /etc/mtab and /etc/fstab
> does wake up the hard disk.
> So by using devfs and fam, my hard disk isn't touched, and my laptop
> batteries last longer :)
stat shouldn't wake up the disk, since it doesn't need to write the
atime. (magicdev was changed to check the atime before opening the file
sometime in the last year.)
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]