Re: [Nautilus-list] nautilus always stat64() /etc/mtab
- From: Maciej Stachowiak <mjs noisehavoc org>
- To: Havoc Pennington <hp redhat com>
- Cc: Eric Wood <eric interplas com>, nautilus-list lists eazel com
- Subject: Re: [Nautilus-list] nautilus always stat64() /etc/mtab
- Date: Tue, 27 Nov 2001 14:59:18 -0800
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?
- Maciej
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]