From owner-freebsd-questions Mon May 13 23:53:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 5199F37B405 for ; Mon, 13 May 2002 23:53:20 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id E5253812E5; Tue, 14 May 2002 16:23:02 +0930 (CST) Date: Tue, 14 May 2002 16:23:02 +0930 From: Greg 'groggy' Lehey To: Brian Astill Cc: FreeBSD Questions Subject: Re: CAN newfs ad1s3 - BUT! Message-ID: <20020514162302.G60068@wantadilla.lemis.com> References: <200205130533.g4D5XL158094@tierzero.apana.org.au> <200205131006.g4DA6H161503@tierzero.apana.org.au> <20020514102119.C60068@wantadilla.lemis.com> <200205140622.g4E6MT176737@tierzero.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200205140622.g4E6MT176737@tierzero.apana.org.au> User-Agent: Mutt/1.3.23i Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html On Tuesday, 14 May 2002 at 15:51:49 +0930, Brian Astill wrote: > On Tue, 14 May 2002 10:21, you wrote: >> /dev/ad1s3 is a slice, not a (FreeBSD) partition.  Before you use it, >> you should partition it with disklabel.  If you're going to put a >> non-root partition on it, convention suggests giving the partition a >> letter between e and h, so you'd end up with: >> >>   # disklabel -e /dev/ad1s3 > > That puts me into what appears to be vi (:q to exit) Or the EDITOR of your choice. >>     (add a partition h, identical to c except for partition type >>     4.2BSD followed by 3 0s). > >>   # newfs /dev/ad1s3h > > That says: > newfs: /dev/ad1s3h: No such file or directory Ah, you may need to make the device node. Try # cd /dev # ./MAKEDEV ad1s3h This nonsense will go away when devfs becomes mainstream. > Only thing I can think of is that I am supposed to USE the vi > look-alike and edit something to something else ?? Well, it's not a look-alike, it's the real thing, and of course you're supposed to USE it. As I said: >>     (add a partition h, identical to c except for partition type   >>   4.2BSD followed by 3 0s). Specifically, you'll see something like this at the end of the file: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 78165360 0 unused 0 0 # (Cyl. 0 - 77544) Add a partition h with 3 zeros after it: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 78165360 0 unused 0 0 # (Cyl. 0 - 77544) h: 78165360 0 4.2BSD 0 0 0 # (Cyl. 0 - 77544) BTW, why are you using ad1? Do you have something else on the second IDE controller? Otherwise use ad2, not ad1. Slave disks are performance problems. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message