From owner-freebsd-questions Tue Feb 4 15:11:42 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F90737B401 for ; Tue, 4 Feb 2003 15:11:41 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50E9643FA7 for ; Tue, 4 Feb 2003 15:11:38 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id h14NBTFu033534 for ; Tue, 4 Feb 2003 23:11:29 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id h14NBOPw033533 for freebsd-questions@FreeBSD.ORG; Tue, 4 Feb 2003 23:11:24 GMT Date: Tue, 4 Feb 2003 23:11:24 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Correct installer behaviour? Message-ID: <20030204231124.GA33147@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <200302041941.h14Jf7ka076236@router.darlow.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302041941.h14Jf7ka076236@router.darlow.co.uk> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-1.4 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_05_08,USER_AGENT, USER_AGENT_MUTT version=2.44 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 On Tue, Feb 04, 2003 at 07:40:59PM +0000, Neil Darlow wrote: > I have created a single slice on each drive (ad0s1 and ad2s1) then attempted > to create some disklabel partitions on each. > > For drive ad0 creating a FS partition gives ad0s1a and a SWAP partition gives > ad0s1b - fine so far. > > For drive ad2 creating a FS partition gives ad2s1d and a SWAP partition gives > ad2s1b - this seems odd. > > Why isn't the first partition on ad2 ad2s1a? Is this correct behaviour or is > it a bug? /stand/sysinstall enforces the convention that the 'a' partition contains the root of the filesystem. Other mount points get assigned to the 'd', 'e', 'f', 'g' or 'h' partitions --- if I remember correctly that's done just based on the order that you create the partitions. That whole layout scheme is no more than an arbitrary convention. If you use 'disklabel -e' you can create pretty much whatever partitioning you want. Partitions don't need to be created in order across the disk (ie. 'a' outermost, starting at cylinder 0, then 'b', etc.). They can even overlap, although that has limited utility. Then all you need do is make sure /etc/fstab is consistent with your disklabels, mount your partitions and you're up and running. There's one restriction. I think some filesystem management commands may get upset if the 'c' partition doesn't span the whole slice. That shouldn't need to be the case anymore as nowadays there are suitable device nodes available. I guess it's traditional more than anything. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message