Web lists-archives.com

Re: find / without traversing /proc




-xdev was never a GNU extension; it was in Posix 1 (1990).

On 2017-04-28 17:32, Andrey Repin wrote:
Greetings, Eric Blake!

On 04/27/2017 08:11 PM, Andrey Repin wrote:


Doesn't the -xdev switch help with this?

Just keep in mind that -xdev is an extension and different platform may use a
different way to indicate that find should stick to the current device.

Huh?  find -xdev is specified by POSIX, so it's portable:

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

2016 edition. It's new. But pleasant.
Last time I checked it was labeled as GNU extension.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple