lkml.org 
[lkml]   [1999]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.201 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site