Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 12:46:31 +0100 (BST)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Mac <mac@ngo.org.uk>
Cc:        R Joseph Wright <rjoseph@mammalia.org>, freebsd-questions@freebsd.org
Subject:   Re: Inodes and filenames
Message-ID:  <Pine.GHP.4.21.0007031245230.12683-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <200007031005.LAA17295@ngo.org.uk>

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


-- 
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?Pine.GHP.4.21.0007031245230.12683-100000>