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



Maciej Stachowiak <mjs noisehavoc org> writes:
> On 27Nov2001 03:15PM (-0500), 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.
>  
> I hate to do this by guessing. Does anyone know where I could find a
> list of which system calls update atime and which don't?
> 

If I was non-lazy I'd just find Stephen's mail. ;-)

Havoc





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