From owner-freebsd-fs Sun Aug 3 01:52:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA14290 for fs-outgoing; Sun, 3 Aug 1997 01:52:04 -0700 (PDT) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.96.1.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA14285 for ; Sun, 3 Aug 1997 01:52:02 -0700 (PDT) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.5/8.8.5) with SMTP id EAA02292 for ; Sun, 3 Aug 1997 04:52:01 -0400 (EDT) Date: Sun, 3 Aug 1997 04:52:00 -0400 (EDT) From: "Matthew N. Dodd" To: fs@freebsd.org Subject: Open by Inode# Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm involved in writing an application that would benefit from the ability to open a file by its inode# rather than its filename. A friend of mine has done something similar under Linux/ext2fs (see http://www.news.erols.com/patches/ext2_inum.diff for details). I envision something like int iopen(ino_t inode, int flags) Obviously file creation via this call would be silly. Is something like this even feasible? /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */