Of course, /proc/inode is for opening files, not for listing them.
If it were to list anything, it would list open files (the same ones as
in /proc/[0-9]*/fd), restricted according to the current process
permissions just as /proc/[0-9]*/fd are. Unlike /proc/[0-9]*/fd, files
would appear as themselves.
It would probably make sense for it to mirror the structure of the mount
points, so e.g. /proc/inode/var/spool/NNN gets inode NNN on filesystem
/var/spool.
I still don't see how open-by-inode is useful, though.
The latest news servers, it is said, are fast enough without 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/