Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 22:18:37 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        arch@freebsd.org
Subject:   Re: newfs and mount vs. half-baked disks
Message-ID:  <20031115041837.GU12248@over-yonder.net>
In-Reply-To: <4937.1068707682@critter.freebsd.dk>
References:  <20031113064251.GB39616@cirb503493.alcatel.com.au> <4937.1068707682@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031115041837.GU12248>