find -inum option undocumented
Geoff Kuenning
geoff at desint.UUCP
Wed Jul 9 06:48:35 AEST 1986
In article <1036 at rlgvax.UUCP> dennis at rlgvax.UUCP (Dennis Bednar) writes:
> The -inum option of find(1) which finds files based on
> i-node number is undocumented in the man pages.
This is true. However, the BUGS section should mention that, for almost
all applications, ncheck(1m) is a much better way to locate a file based
on its i-node number.
> By the way, what does the -depth option of find do?
> The man page for cpio attempts to explain what the -depth
> option of find does, but I'm confused.
>
> Also the man page for find doesn't describe -depth either.
The -depth option changes the behavior of "find / -print" so that the
name of a directory is printed *after* the contents, instead of before.
In data-structure terminology, it changes the directory tree search from
preorder to postorder. It is useful with cpio because, with the -m switch,
it causes the directory's modification time to be updated *after* all files
have been placed in it--otherwise, placing the next file would wipe out that
carefully-preserved mod time.
--
Geoff Kuenning
{hplabs,ihnp4}!trwrb!desint!geoff
More information about the Net.bugs.usg
mailing list