Messages in this thread | | | Date | Tue, 20 Apr 1999 15:49:38 -0400 (EDT) | From | Alexander Viro <> | Subject | Re: archive filesystem interface |
| |
On Tue, 20 Apr 1999, Stephane Popinet 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... Besides, you'll have pretty races between such scan and rename(). Raceless way to do it from userland simply doesn't exist. From the kernel... It will be equally slow and would take mind-boggling amount of locking to prevent races. In effect you'll have to stop all namespace-related activity for the duration of that operation. And it will not be fast - on a big fs it may take tens of seconds for each file.
- 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/
| |