New (GNU) kernels--what I think
Guy Harris
guy at auspex.auspex.com
Sun Jun 11 06:00:06 AEST 1989
>> What do you mean "by name"? Does "name" mean the name of the open file,
>> or the name of the "who" (which means a process) that has the file open?
>> The former isn't quite as easy as you seem to think....
>I'm talking about "by filename" (relative to the current host).
>Given the current structure of the UNIX kernel, and filesystem code,
> it is neither easy, nor cheap. But the fact is that other systems do
> this sort of thing, apparently cheaply.
"Apparently" cheaply, or truly cheaply? There is extra goop to carry
around; I don't know how worthwhile it is to carry it all around.
>What I was trying to convey was "whatever seems reasonable within the
> context of the current national character set".
"Current" national character set? I'd rather not have the file system
code know what the current national character set is, and leave that up
to some higher-level software.
>That approach is only reasonable if the underlying driver allows
> character-at-a-time processing at user (library??) level to be
> done cheaply. Traditionally, this has been a problem, which
> is why there is user-interface stuff in the tty driver.
Well, maybe. Try snarfing Kenneth Almquist's "atty" program from
"comp.sources.unix" and see whether it's a serious problem or not.
More information about the Comp.unix.wizards
mailing list