bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #42318] find with xdev traverses other filesystem when mountpiont i


From: Nishit Patel
Subject: [bug #42318] find with xdev traverses other filesystem when mountpiont is subdirectory
Date: Thu, 08 May 2014 13:34:24 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?42318>

                 Summary: find with xdev traverses other filesystem when
mountpiont is subdirectory
                 Project: findutils
            Submitted by: nishitpatel
            Submitted on: Thu 08 May 2014 01:34:22 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: forest
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.2
           Fixed Release: None

    _______________________________________________________

Details:

Hello,

I want to see if there is option with find to ignore traversing into other
filesystem.   

When I issue find to perform some tests on local filesystem, it returns
results with files that are on NFS mount.    I believe find is only performing
-xdev test on / and not on any subdirectories.   

Is that expected behavior?

# find / -mount -nouser -printf "%F %M %u %g %p \n"
nfs drwxrwsr-x 9958 /abc/def/ghi
nfs drwxrwsr-x 9958 /abc/def/jkl

# df -h /abc/def/ghi
Filesystem            Size  Used Avail Use% Mounted on
x.x.x.x:/abc-nfs/def/ghi
                      x.xP  x.xP  xxxT  xx% /abc/def/ghi

# df -h /abc/def
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1               xxG  xxG   xxG  xx% /




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42318>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]