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: Bernhard Voelker
Subject: [bug #42318] find with xdev traverses other filesystem when mountpiont is subdirectory
Date: Fri, 17 Mar 2017 16:04:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #2, bug #42318 (project findutils):

POSIX states:

  http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html

  -xdev
      The primary shall always evaluate as true; it shall cause find not
      to continue descending past directories that have a different device
      ID (st_dev, see the stat() function defined in the System Interfaces
      volume of POSIX.1-2008). If any -xdev primary is specified, it shall
      apply to the entire expression even if the -xdev primary would not
      normally be evaluated.

I'm not 100% sure, but I read "not to continue descending past directories"
to mean that find should print the mount point entry.

Have a nice day,
Berny

    _______________________________________________________

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]