Skip site navigation (1)Skip section navigation (2)
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>

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

--wtUqn8XWZYmnPFNh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.=20
>>>>=20
>>>> First, how can I find out whether an inode has more than one filename
>>>> associated with it?
>>=20
>> 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.
>>=20
>> Otherwise, like Mac said,
>>=20
>> 	find -x /fs -inum nnn
>=20
> It seems like I _have_ to use the -x option, otherwise I get an error lik=
e:=20
>=20
> 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?

--=20
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D

--wtUqn8XWZYmnPFNh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----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-----

--wtUqn8XWZYmnPFNh--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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