Date: Mon, 3 Jul 2000 21:08:25 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: R Joseph Wright <rjoseph@mammalia.org> Cc: Jan Grant <Jan.Grant@bristol.ac.uk>, freebsd-questions@FreeBSD.org Subject: Re: Inodes and filenames Message-ID: <20000703210825.A48373@strontium.scientia.demon.co.uk> In-Reply-To: <20000703101323.A84689@manatee.mammalia.org> References: <200007031005.LAA17295@ngo.org.uk> <Pine.GHP.4.21.0007031245230.12683-100000@mail.ilrt.bris.ac.uk> <20000703101323.A84689@manatee.mammalia.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] R Joseph Wright wrote: > On Mon, Jul 03, 2000 at 12:46:31PM +0100, Jan Grant wrote: >>> R Joseph Wright Wrote >>>> I have a two part question regarding inodes. >>>> >>>> First, how can I find out whether an inode has more than one filename >>>> associated with it? >> >> If you know _one_ of the filenames, then ls -l will list the reference >> count of the inode. For normal files, this is the number you're looking >> for. >> >> Otherwise, like Mac said, >> >> find -x /fs -inum nnn > > It seems like I _have_ to use the -x option, otherwise I get an error like: > > find: illegal option --i > find: illegal option --n > find: illegal option --u > find: illegal option --m huh? What command are you typing to get that? I reckon it must be something like $ find -inum 4 but putting '-x' in wouldn't make any difference. So what are you actually typing? -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: q3D4NfuvJxcs+5FCvZy8SKuqV532NaJN iQCVAwUBOWDyuCsPVtiZOS99AQFVOAQAgeF5y1+pa5kHoVwPx7zz1xAVvgSkBbuj kre2NweU2Irl0Vp/4rC+JwdtniQVv6gcqARgFubAecuQUDGAPHuD/o72fGM6HkCt Q39+WtmyU4N35fPbZnZrwDQ4uGw4NfInINBTake9OLtnE/e9DtzWrF/JLvdnXjZz fraVGw7Uq40= =4B/a -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000703210825.A48373>
