Re: Flexible Console open (really little patch)

Matti Aarnio (matti.aarnio@sonera.fi)
Mon, 17 Aug 1998 12:54:30 +0300 (EEST)


Clifford Wolf <clifford@clifford.at> writes:
...
> But devfs will go in the kernel - so it is absolute sensefull to make
> the usage of devfs as easy as possible. And it really does not hurt
> to allow two diffrent locations for the console device file ...

You just have to get over the misconception that if you use
devfs, you can't have normal device nodes in place for pre-
devfs-mount phase.

You can mount the devfs filesystem on /dev/ directory, never
mind what the content of that directory is -- thus you CAN
have /dev/console node in there even though it will become
inaccessible when the devfs is mounted on top of the
directory. But then, that /dev/console, and the one
opened via devfs overlay should have same major/minor values,
so how can you tell the difference ??

> - clifford
> -- -- -- -- -- -- -- -- -- -- -- -- --
> Clifford Wolf
> magnet - Internet at Work IRC: efnet / clifford
> Director of System Development http://www.clifford.at/
> e-mail: c.wolf@magnet.at email: god@clifford.at

/Matti Aarnio <matti.aarnio@sonera.fi>

-
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.altern.org/andrebalsa/doc/lkml-faq.html