🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.usg
Article #321

Re: find -inum option undocumented

#321
From: Geoff Kuenning
Date: Tue, 08 Jul 1986 20:48
26 lines
1754 bytes
In article <1036@rlgvax.UUCP> dennis@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
Technical Details
Message-ID: <232@desint.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!seismo!nbires!hao!hplabs!sdcrdcf!trwrb!desint!geoff
References: <1036@rlgvax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!seismo!nbires!hao!hplabs!sdcrdcf!trwrb!desint!geoff
From: geoff@desint.UUCP (Geoff Kuenning)
Newsgroups: net.bugs.usg
Subject: Re: find -inum option undocumented
Message-ID: <232@desint.UUCP>
Date: Tue, 8-Jul-86 16:48:35 EDT
Article-I.D.: desint.232
Posted: Tue Jul  8 16:48:35 1986
Date-Received: Fri, 11-Jul-86 06:16:40 EDT
References: <1036@rlgvax.UUCP>
Reply-To: geoff@desint.UUCP (Geoff Kuenning)
Organization: SAH Consulting, Manhattan Beach, CA
Lines: 26
Keywords: find, -inum, -depth, documentation bug, man page bug