On Tue, Jan 14, 2003 at 05:17:57PM +0100, Jan Hudec wrote: > Generaly, maping inode to filename is not unique, since inode (except > directory inodes) can have zero to many names. Each inode has a list of > dentries. These can be converted. Jan, it is actually worse than that -- directory inodes can have multiple names too, now, with multiple mounting and bind mounting. And, since each process can have its own version of a namespace, there aren't ontologically canonical filenames any longer. To the original poster: a vfsmnt combined with dentry can be used with d_path to give 'the' filename. Best of luck. :) -- "A mouse can be just as dangerous as a bullet or a bomb." -- US Representative Lamar Smith (R-Texas)
Attachment:
pgp00253.pgp
Description: PGP signature