From owner-freebsd-arch@FreeBSD.ORG Fri Nov 14 20:18:41 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CF3416A4CE for ; Fri, 14 Nov 2003 20:18:41 -0800 (PST) Received: from regina.plastikos.com (216-107-106-250.wan.networktel.net [216.107.106.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74AB843F75 for ; Fri, 14 Nov 2003 20:18:40 -0800 (PST) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-212-172-144.jan.bellsouth.net [68.212.172.144]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by regina.plastikos.com (Postfix) with ESMTP id 86CBA6EECD for ; Fri, 14 Nov 2003 23:18:39 -0500 (EST) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 8FD6420F2A; Fri, 14 Nov 2003 22:18:37 -0600 (CST) Date: Fri, 14 Nov 2003 22:18:37 -0600 From: "Matthew D. Fuller" To: Poul-Henning Kamp Message-ID: <20031115041837.GU12248@over-yonder.net> References: <20031113064251.GB39616@cirb503493.alcatel.com.au> <4937.1068707682@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4937.1068707682@critter.freebsd.dk> User-Agent: Mutt/1.4.1i-fullermd.1 X-Editor: vi X-OS: FreeBSD cc: Peter Jeremy cc: arch@freebsd.org Subject: Re: newfs and mount vs. half-baked disks X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 04:18:41 -0000 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"