Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 15:24:20 +0200
From:      "mdff" <nospam@mgedv.net>
To:        <freebsd-bugs@freebsd.org>
Subject:   find(1) man-page/find error with -x/-xdev
Message-ID:  <20050703132417.59F34186800@mgedv.at>

next in thread | raw e-mail | index | archive | help

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@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

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

br, mdff...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050703132417.59F34186800>