[FC2] GNOME vfs/autofs annoyance

From: Steffen Kluge (kluge_at_fujitsu.com.au)
Date: 05/30/05

  • Next message: Kanwar Ranbir Sandhu: "Re: screen grab that snaps the mouse pointer"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Mon, 30 May 2005 12:48:25 +1000
    
    
    
    

    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.

    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Kanwar Ranbir Sandhu: "Re: screen grab that snaps the mouse pointer"