Re: kernel creating /dev/pts/XX

C. Scott Ananian (cananian@lcs.mit.edu)
Fri, 16 Jan 1998 00:29:53 -0500 (EST)


On Fri, 16 Jan 1998, Richard Gooch wrote:

> C. Scott Ananian writes:
> > I disagree. I don't like the kernel playing with magic files. Someone
> > else will have to implement this if they want it.
>
> I agree. The kernel should not create files on discs unless
> explicitely asked to do so via the open(2)/mkdir(2)/mknod(2)
> family. Nor should it fiddle the permissions of stuff on disc unless
> explicitely asked to do so.
> It may be easy to do, but it's really unclean, IMO.

And what if root is mounted read-only?
--Scott
@ @
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
C. Scott Ananian: cananian@lcs.mit.edu / Declare the Truth boldly and
Laboratory for Computer Science/Crypto / without hindrance.
Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
-.-. .-.. .. ..-. ..-. --- .-. -.. ... -.-. --- - - .- -. .- -. .. .- -.
PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian