find(1) man-page/find error with -x/-xdev

mdff nospam at mgedv.net
Sun Jul 3 13:24:21 GMT 2005


as documented on 5.4-RELEASE, there's a divergence between
man 1 find and the command itself and the option "-x" a.k.a. "-xdev".
although "-xdev" is "deprecated", it's the only working one ;-)

$ man 1 find
<...snip...>
     -x      Prevent find from descending into directories that have a
device
             number different than that of the file from which the descent
             began.

             This option is equivalent to the deprecated -xdev primary.
<...snip...>

$ find . -x
find: -x: unknown option

$ find . -xdev
<...works...>

$ uname -a
FreeBSD pbpdev01 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC
2005     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

conclusio: divergence between the man-page and the command.

br, mdff...



More information about the freebsd-bugs mailing list