Re: archive filesystem interface

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Wed, 21 Apr 1999 21:01:01 +0200


Alexander Viro wrote:
> > - What is the most portable and efficient way to get filename(s) from
> > inode numbers?
> Full scan of filesystem. And it's the only way. Kinda kills the
> idea...

Ext2 inodes could be changed to include a pointer to the directory
referring to them [modulo hard link complications], and I do have an
open-by-inode patch kicking around.

It's possible, but I wouldn't recommend it.

-- Jamie

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