bugfindutils - Bugs: bug #42318, find with xdev traverses other...

 
 

bug #42318: find with xdev traverses other filesystem when mountpiont is subdirectory

Submitted by:  Nishit Patel <nishitpatel>
Submitted on:  Thu 08 May 2014 01:34:22 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Originator Name: forestOpen/Closed: Open
Release: 4.4.2Fixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 08 May 2014 01:34:22 PM UTC, original submission:

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% /

Nishit Patel <nishitpatel>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nishitpatel (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup