Bug 595305 - gnomevfs-info is recognizing nfs mounts as local filesystems
Summary: gnomevfs-info is recognizing nfs mounts as local filesystems
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnome-vfs2
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: desktop-bugs@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-24 10:37 UTC by Lubos Kocman
Modified: 2015-03-03 22:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-24 15:08:32 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Lubos Kocman 2010-05-24 10:37:14 UTC
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):


How reproducible:

Steps to Reproduce:
1. gnomevfs-info /mnt/filesystem_mounte_over_nfs

Actual results:

Local: YES

Expected results:

Local: NO

Comment 2 Tomáš Bžatek 2010-05-24 15:03:18 UTC
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.

Comment 3 RHEL Program Management 2010-05-24 15:08:32 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Note You need to log in before you can comment on or make changes to this bug.