newfs and mount vs. half-baked disks

Matthew D. Fuller fullermd at over-yonder.net
Fri Nov 14 20:18:41 PST 2003


On Thu, Nov 13, 2003 at 08:14:42AM +0100 I heard the voice of
Poul-Henning Kamp, and lo! it spake thus:
> >On Wed, Nov 12, 2003 at 09:56:14AM +0100, Poul-Henning Kamp wrote:
> >
> >How do you handle the situation when the master superblock on / is
> >hosed and you need to find the filesystem parameters (in
> >/etc/ufs.conf) before you can access /?
> 
> I usually take great care to always newfs / with default parameters,
> because then I can use newfs -N /dev/ad0a to see where the superblocks
> are to be found.

Doesn't always help much...

My / has 8192/1024 block/frags, and I somehow expect other defaults
things have changed since last I newfs'd it.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"


More information about the freebsd-arch mailing list