[FC2] GNOME vfs/autofs annoyance

Steffen Kluge kluge at fujitsu.com.au
Mon May 30 02:48:25 UTC 2005


Hi all,
I'm having a small issue with GNOME vfs and autofs mounted resources.

It appears that whenever I open a nautilus window or file save dialog or
similar for my home directory, all autofs resources in there are
attempted to be mounted. This is ok for resources that can be mounted at
the time, but annoying for those that can't, like my USB flash memory
stick which isn't normally in the USB port.

I access the USB stick via a symlink in my home directory:

$ ls -l stick
lrwxrwxrwx  1 kluge kluge 14 Nov  3  2004 stick -> /mnt/usb/flash

What GNOME seems to be doing, instead of the above, is following the
link, like ls with the -L switch:

$ ls -lL stick
ls: stick: No such file or directory

This seems totally unnecessary for a GUI listing of the directory only,
and should be deferred until I actually want to change into the linked
directory.

Every time the home directory is read via GNOME, messages like these are
being logged to /var/log/messages:

May 30 12:16:22 myhost automount[18571]: mount(ext2): /dev/sda1: 
                filesystem needs repair, won't mount
May 30 12:16:22 myhost automount[18571]: failed to mount /mnt/usb/flash

needlessly filling up the file.

Although this is a mere annoyance and doesn't break anything, I'd like
know whether the GNOME vfs (or whatever presents directory listings in
dialog boxes) can be configured to behave like "ls -l", rather than "ls
-lL" (i.e. using lstat() and readlink(), rather than stat() and open()).
I didn't find anything for that in gconf-editor.

Cheers
Steffen.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050530/1cb80379/attachment-0001.sig>


More information about the fedora-list mailing list