Messages in this thread | | | Date | Thu, 7 Jan 1999 10:18:00 +0000 | From | Jamie Lokier <> | Subject | Re: Open by inode? (was Re: knfsd) |
| |
There's really no need for extra syscalls for open-by-inode.
Implement /proc/inode/NNN instead...
-- Jamie
On Wed, Jan 06, 1999 at 12:14:12AM -0500, D. Feuer wrote: > In other words, make all the system calls inode-based except for some kind > of lookup(filename) to get the inode. Implement filename-based > functions in libraries. Has a certain pointy elegance, but > could seriously mess up the transparency of the fs layer, and faces > either major atomicity issues (if lib based) or ugly functionality > duplication in > syscalls (if, as you recommended, new syscalls just added). For example, > copying a directory to a different disk and mounting it under might mess > up poorly-written programs that kept track of the inodes. Ouch! Could be > an administrative nightmare. But the idea is elegent.... Perhaps trouble > could be avoided by purposely messing up all the inode numbers at mount > time (seeded from /dev/random).
- 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/
| |