Re: [Nautilus-list] nautilus always stat64() /etc/mtab



On 27 Nov 2001, Havoc Pennington wrote:

> 
> "Eric Wood" <eric interplas com> writes:
> > nautilus wants to constantly monitor /etc/mtab to see if something
> > automount.  However this function keeps the hard drives spinning, battery
> > life low, and ext3 continually flushing the journals.
> > 
> > Stephen Tweddie (author of ext3) says to use some other function (I don't
> > know what it is) that does the same thing as stat64() but lets the drives
> > spin down when not really used.
> > 
> > Any thoughts?
> 
> My memory of what Stephen said is that Nautilus should hold mtab open
> instead of opening/closing it over and over. I'm not sure I remember
> correctly though.

And use fstat instead?

/ Alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]