Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 10:13:23 -0700
From:      R Joseph Wright <rjoseph@mammalia.org>
To:        Jan Grant <Jan.Grant@bristol.ac.uk>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Inodes and filenames
Message-ID:  <20000703101323.A84689@manatee.mammalia.org>
In-Reply-To: <Pine.GHP.4.21.0007031245230.12683-100000@mail.ilrt.bris.ac.uk>; from Jan.Grant@bristol.ac.uk on Mon, Jul 03, 2000 at 12:46:31PM %2B0100
References:  <200007031005.LAA17295@ngo.org.uk> <Pine.GHP.4.21.0007031245230.12683-100000@mail.ilrt.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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

> 
> 
> -- 
> jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
> Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
> Semantic rules, OK?
> 


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?20000703101323.A84689>