From owner-freebsd-questions Sun Aug 11 7:28:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EAEE37B400 for ; Sun, 11 Aug 2002 07:28:55 -0700 (PDT) Received: from grant.org (grant.org [206.190.164.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4732843E65 for ; Sun, 11 Aug 2002 07:28:54 -0700 (PDT) (envelope-from mgrant@splat.grant.org) Received: from splat.grant.org (mgrant@splat.grant.org [213.39.2.177]) by grant.org (8.12.3/8.12.3) with ESMTP id g7BESob4033077 for ; Sun, 11 Aug 2002 10:28:51 -0400 (EDT) (envelope-from mgrant@splat.grant.org) Received: (from mgrant@localhost) by splat.grant.org (8.11.6+Sun/8.11.6) id g7BEOxa29497; Sun, 11 Aug 2002 16:24:59 +0200 (MEST) Date: Sun, 11 Aug 2002 16:24:59 +0200 (MEST) Message-Id: <200208111424.g7BEOxa29497@splat.grant.org> From: Michael Grant To: freebsd-questions@freebsd.org Subject: find by inode Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Does anyone know how I can list the files within a filesystem by inode number? i.e. for each inode within a file system, print it's filenames(s). And I do mean filename(s) because each inode can have more than one link. I can write a perl script to do a find, build a hash, and print this info out, but surely, there must be a more efficient way. For every given inode, I want to know what the filename(s) are. Unfortunatly, ls doesn't provide this info. Michael Grant To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message