Red Hat Bugzilla – Bug 595305
gnomevfs-info is recognizing nfs mounts as local filesystems
Last modified: 2015-03-03 17:48:27 EST
Description of problem:
gnomevfs-info is recognizing filesystems mounted over NFS as local filesystems:
lkocman@ThinkPad T400$ gnomevfs-info /mnt/archive/tmp | grep Local
Local : YES
lkocman@ThinkPad T400$ df -h /mnt/archive/tmp/
Filesystem Size Used Avail Use% Mounted on
100G 31G 70G 31% /misc/filer-eng/vol/engineering/share
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gnomevfs-info /mnt/filesystem_mounte_over_nfs
Looking into the gnome-vfs2 sources it's clear that the flag is always set for the file method and never set otherwise (see GNOME_VFS_FILE_INFO_SET_LOCAL() macro usage). See http://library.gnome.org/devel/gnome-vfs-2.0/stable/gnome-vfs-20-gnome-vfs-file-info.html for more information.
The flag 'local' here isn't meant to distinguish between physically available media and the virtual ones, it just indicates ability to access the files directly via POSIX calls. It's a different way of thinking.
This is by design behaviour and correcting this would probably break applications, nominating for devel_ack-. Should this make troubles in real life applications, please let us know here.
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.