From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 18:02:51 2003 Return-Path: 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 7425B16A4B3 for ; Mon, 13 Oct 2003 18:02:51 -0700 (PDT) Received: from m23.nyc.untd.com (m23.nyc.untd.com [64.136.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 6467C43F93 for ; Mon, 13 Oct 2003 18:02:50 -0700 (PDT) (envelope-from gs_stoller@juno.com) Received: from cookie.untd.com by cookie.untd.com for <"/s5f1SIGSI3+WdnoYQ8yRPP+mg2kw8V+aiEGEflt7nfCB8cMZCCt7w==">; Mon, 13 Oct 2003 18:02:44 PDT Received: (from gs_stoller@juno.com) by m23.nyc.untd.com (jqueuemail) id JCEQWWCZ; Mon, 13 Oct 2003 18:02:44 PDT To: freebsd-questions@FreeBSD.ORG Date: Mon, 13 Oct 2003 21:02:11 -0400 Message-ID: <20031013.210211.-381819.0.GS_Stoller@juno.com> X-Mailer: Juno 4.0.9 MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Juno-Line-Breaks: 1-2,11 X-Juno-Att: 0 X-Juno-RefParts: 0 From: Gerald S Stoller cc: gs_stoller@hotmail.com Subject: The find command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 01:02:51 -0000 FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 I tried out the -inum option of the find command and find that it didn't work. I got a valid inode number from 'ls -i' and fed that to 'find dir -inum inode#' and got no file names back. If there is someone familiar with this command's code and can fix it, please inform me and do so. I don't know where the error is, i.e., is all the code for -inum missing or just a small part of it? I don't know what structure contains all the inodes in a partition and how to associate inodes with file path-names (but I'd like to know this, so if someone can send me data as to where this info is, I would appreciate it). I may try to fix it if I can get that info on inodes that I mentioned, if no one else can do it.