Subject: Re: Preventing automatic mfs on /dev
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 12/09/2003 00:33:47
In article <20031208234736.GA11420@daikokuya.co.uk>,
Neil Booth <neil@daikokuya.co.uk> wrote:

boot from net or floppy.

christos

>So I'm playing around on a Soekris net4801 box, and decide
>I want to be able to mount / read-only, so I removed /dev/console
>so that init automatically does a MAKEDEV on an mfs filesystem.
>
>However, I want to revert this temporarily, but have not found
>a way of doing so: /bin/sh as init fails, probably because of
>lack of /dev/console, and if I use normal /sbin/init I can't
>umount /dev even in single user mode because of "device busy".
>Similarly trying to mount /dev/wd0a, my root device, simultaneously
>elsewhere gets "device busy".
>
>How can I recreate /dev/console on the /dev/wd0a filesystem and thus
>prevent an mfs /dev?
>
>Neil.