[prev in list] [next in list] [prev in thread] [next in thread]
List: cygwin
Subject: Re: find / without traversing /proc
From: Eric Blake <eblake () redhat ! com>
Date: 2017-04-29 15:11:02
Message-ID: d5897dd3-ea05-ef78-8930-c9efa8516b07 () redhat ! com
[Download RAW message or body]
[Attachment #2 (multipart/mixed)]
On 04/28/2017 07:32 PM, 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.
2016 edition is just technical corrigenda to the 2008 edition. But -xdev
was in the 2001 edition (web page says 2004, as a technical corrigendum
to the 2001 edition, for the same reason as the other web page says 2016):
http://pubs.opengroup.org/onlinepubs/009695399/utilities/find.html
> Last time I checked it was labeled as GNU extension.
Then you haven't been keeping up with things. -xdev has been
standardized for a long time.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic