On 03/06/09 12:34, Trond Norbye wrote:
> Opening a folder located on my Desktop in File Browser is incredible slow,
> and today I tried to attach truss to nautilus before opening the folder. I
> was really surprised by what I saw:
>
> /1: open64("/etc/mnttab", O_RDONLY) = 26
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 0
> /1: ioctl(26, MNTIOC_GETMNTENT, 0x08046CEC) = 1
> /1: llseek(26, 0, SEEK_CUR) = 0
> /1: close(26) = 0
> /1: openat(AT_FDCWD, "/home", O_RDONLY|O_NDELAY|O_LARGEFILE) = 26
> /1: fcntl(26, F_SETFD, 0x00000001) = 0
> /1: fstat64(26, 0x08046D10) = 0
> /1: getdents64(26, 0xFA112000, 8192) = 112
> /1: lstat64("/home/user1", 0x08046D60) = 0
> /1: port_associate(21, 7, 0x08E33888, 0x10000006, 0x093053B8) = 0
> /1: getdents64(26, 0xFA112000, 8192) = 5896
> /1: lstat64("/home/user2", 0x08046D60) = 0
> /1: port_associate(21, 7, 0x08E9F6C0, 0x10000006, 0x09351700) = 0
> /1: lstat64("/home/user3", 0x08046D60) = 0
> /1: port_associate(21, 7, 0x093D9388, 0x10000006, 0x093A7498) = 0
> /1: lstat64("/home/user4", 0x08046D60) = 0
> [ ... cut ...]
>
> This caused the automounter to mount _ALL_ the users in my auto_home, and all
> I wanted was to look at the content in /home/trond/Desktop/foo ..
>
> Why does it need to stat all of the directories in /home?
>
What build are you on?
Can you specify what is your environment that causes the problem to
manifest itself, please.
After the event what is the entry of /etc/mnttab?
Sounded like http://monaco.sfbay.sun.com/detail.jsf?cr=6718912
but would prefer a non Sun Ray environment to tackle the problem.
Thanks,
-Ghee