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/