Subject: Re: BIG Problem
To: Grant Stockly <gussie@stockly.com>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-i386
Date: 08/03/1999 11:05:47
On Mon, 2 Aug 1999, Grant Stockly wrote:

> >use it for fsck (fsck /kern/rrootdev).
> 
> That didn't fix the device nodes, so I did this:

Right. That was just to get you out of the catch-22 you were in. You
really should have root mounted ro to fsck, but you have to add device
nodes to actually fsck it, which means you need it r/w. But it's not safe
to write to a damaged fs, so it's not safe to do what you need to do to
fix the fs..

> # {pwd}
> /
> # {cd /dev}
> # {rm *wd*}
> # {monod wd0a b 0 0}
> # {mknod wd0b b 0 1}
> # {mknod wd0e b 0 3}
> # {mknod rwd0a c 3 0}
> # {mknod rwd0b c 3 1}
> # {mknod rwd0e c 3 4}
> 
> I'll see how it goes.

That is the long term fix. :-)

Take care,

Bill