Re: Integration of gmc and nautilus desktop directories.
- From: jacob berkman <jacob ximian com>
- To: jacob berkman <jacob ximian com>
- Cc: Ian McKellar <ian eazel com>, Miguel de Icaza <miguel ximian com>, nautilus-list eazel com, gnome-hackers gnome org
- Subject: Re: Integration of gmc and nautilus desktop directories.
- Date: 12 Apr 2001 17:39:01 -0400
On 12 Apr 2001 16:41:19 -0400, jacob berkman wrote:
> On 12 Apr 2001 11:28:31 -0700, Ian McKellar wrote:
> > I'm not in a position to accept or refuse patches, but...
> >
> > On Thu, Apr 12, 2001 at 01:20:49PM -0400, Miguel de Icaza wrote:
> > >
> > > This patch does:
> > >
> > > * Reload of desktop directory contents every 4 seconds.
> >
> > Thats gonna kill battery life on laptops - could you make this a preference
> > rather than hard-coded?
>
> doesn't nautilus already rescan /etc/mnttab every 2 seconds?
it actually seems to be doing a lot every 2 seconds (pid 458 is
nautilus)
jacob wet-pants:libnautilus-extensions$ strace -tt -p 458 2>&1 | grep
open
17:37:54.009476 open("/etc/mnttab", O_RDONLY) = -1 ENOENT (No such file
or directory)
17:37:54.009626 open("/proc/mounts", O_RDONLY) = 14
17:37:54.010356 open("/etc/fstab", O_RDONLY) = 15
17:37:54.011144 open("/etc/fstab", O_RDONLY) = 15
17:37:54.011929 open("/etc/fstab", O_RDONLY) = 15
17:37:54.012649 open("/etc/fstab", O_RDONLY) = 15
17:37:54.013339 open("/etc/fstab", O_RDONLY) = 15
17:37:54.014060 open("/etc/fstab", O_RDONLY) = 15
17:37:54.014836 open("/etc/fstab", O_RDONLY) = 15
17:37:54.015555 open("/etc/fstab", O_RDONLY) = 15
17:37:54.016356 open("/etc/fstab", O_RDONLY) = 15
17:37:54.016980 open("/etc/fstab", O_RDONLY) = 15
17:37:56.019698 open("/etc/mnttab", O_RDONLY) = -1 ENOENT (No such file
or directory)
17:37:56.019805 open("/proc/mounts", O_RDONLY) = 14
17:37:56.020502 open("/etc/fstab", O_RDONLY) = 15
17:37:56.021287 open("/etc/fstab", O_RDONLY) = 15
17:37:56.022071 open("/etc/fstab", O_RDONLY) = 15
17:37:56.022792 open("/etc/fstab", O_RDONLY) = 15
17:37:56.023482 open("/etc/fstab", O_RDONLY) = 15
17:37:56.024202 open("/etc/fstab", O_RDONLY) = 15
17:37:56.024976 open("/etc/fstab", O_RDONLY) = 15
17:37:56.025695 open("/etc/fstab", O_RDONLY) = 15
17:37:56.026496 open("/etc/fstab", O_RDONLY) = 15
17:37:56.027119 open("/etc/fstab", O_RDONLY) = 15
so the call to check the desktop dir probably won't make a difference.
jacob
--
"...it shoulda been 'Glee Club'." -- David Fincher
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]