From owner-freebsd-questions Mon Jul 3 4:46:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 4AEED37B5A4 for ; Mon, 3 Jul 2000 04:46:36 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 3 Jul 2000 12:46:32 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id MAA22239; Mon, 3 Jul 2000 12:46:32 +0100 (BST) Date: Mon, 3 Jul 2000 12:46:31 +0100 (BST) From: Jan Grant To: Mac Cc: R Joseph Wright , freebsd-questions@freebsd.org Subject: Re: Inodes and filenames In-Reply-To: <200007031005.LAA17295@ngo.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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