Re: Flexible Console open (really little patch)

Miquel van Smoorenburg (miquels@cistron.nl)
18 Aug 1998 00:04:51 +0200


In article <Pine.LNX.3.96.980817222954.25345J-100000@babylon.clifford.at>,
Clifford Wolf <clifford@clifford.at> wrote:
>No - the idea is more to make it possible for the user to see all the
>warning messages generated by the boot scripts - so he can turn the option
>on. There is another point for allowing /etc/console: if the kernel opens
>/etc/console instead of /dev/console it's possible to unmount /dev from
>the single-user-mode (if you use /etc/console as tty). If one uses
>/dev/console, the device would be busy as long as init runs - so one could
>never unmount /dev (e.g. to see what's in /dev/ if devfs is not mounted).

Init reopens /dev/console every time it needs to write something or
when it spawns a child. It doesn't keep /dev/console opened.

Mike.

-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.     <*>

- 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