RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 595305 - gnomevfs-info is recognizing nfs mounts as local filesystems
Summary: gnomevfs-info is recognizing nfs mounts as local filesystems
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnome-vfs2
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2010-05-24 15:08:32 UTC
Target Upstream Version:
Embargoed:


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:

example:

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
filer-eng.brq.redhat.com:/vol/engineering/share
                      100G   31G   70G  31% /misc/filer-eng/vol/engineering/share


Version-Release number of selected component (if applicable):

gnome-vfs2-2.24.2-6.el6.x86_64

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.