Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 1997 04:52:00 -0400 (EDT)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        fs@freebsd.org
Subject:   Open by Inode#
Message-ID:  <Pine.BSF.3.95q.970803043316.334C-100000@sasami.jurai.net>

next in thread | raw e-mail | index | archive | help

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	
*/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970803043316.334C-100000>