>Its worse than that -- unless the reference is in kernel memory, there >is no reference on disk that goes backwards from inode to path name. >find (see below) is about the only way that is guaranteed to work -- and >of course that only finds inodes that actually *have* an active >pathname. (unlink(2) is sometimes used to leave a scratch file without >a name in the filesystem.) >
Except for directories, of course (there is sufficient information to get from the inode number to the pathname) Casper _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code