Subject: Re: PR 7170 -- init and /dev/console
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Charles M. Hannum <abuse@spamalicious.com>
List: tech-kern
Date: 04/29/2001 21:02:24
On Sun, Apr 29, 2001 at 11:49:30PM -0400, der Mouse wrote:
> > Plus, in anything other than a diskless environment, if your /dev is
> > toast you can't upgrade / to r/w to fix it.
>
> Fortunately, it's not quite that bad.
>
> # mount_mfs -s 128 swap /mnt
> # mknod /mnt/sd0a b 7 0
> # mount /mnt/sd0a /
>
> ...or /tmp, or whatever, instead of /mnt. Not perfect, but good enough
> to recover from some varieties of the toasted-/dev syndrome.
Okay, I might buy that, given that MFS is in the GENERIC kernel.
Except that nobody has ever documented it. How would a random user
know to do this?