fs inode lookup

A. Ott (ao@ao.morpork.shnet.org)
16 Nov 1998 12:46:00 +0100


Hi!

For consistency checks in RSBAC I am looking for a way to lookup (or at
least check existence of) fs inodes on devices.

Currently only kdev number and inode number are available. kdev leads
easily to superblock and fs root dentry, inode number leads me nowhere.

So my questions are:

1. Is there any generic way using vfs? I didn't find any...
2. If not, is there an official way for ext2 (and hopefully others)?
3. If not, is there an unofficial way, although it might break from
version to version?

Any help appreciated! :)

Amon.

--·
Please remove second ao for E-Mail reply - no spam please!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/