How can I access a file knowing only its inode?

Rouben Rostamian rouben at math9.math.umbc.edu
Fri Mar 30 00:51:37 AEST 1990


How can I access a file (for read, write, stat, etc.) knowing only its inode
number?  I cannot find a system call or C function to do this.  Do I need to 
supply more information than just the inode?  What else is needed (short of
supplying the file name and path?)

Any hints?


Rouben Rostamian                               Telephone: (301) 455-2458
Department of Mathematics and Statistics       e-mail:
University of Maryland Baltimore County        rostamian at umbc.bitnet
Baltimore, MD 21228                            rostamian at umbc3.umbc.edu



More information about the Comp.unix.questions mailing list