From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 13:24:50 2003 Return-Path: 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 6257216A4CE for ; Sun, 30 Nov 2003 13:24:50 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D33643FDD for ; Sun, 30 Nov 2003 13:24:46 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hAULO9KU006918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Nov 2003 21:24:39 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hAULO93J006917; Sun, 30 Nov 2003 21:24:09 GMT (envelope-from matthew) Date: Sun, 30 Nov 2003 21:24:09 +0000 From: Matthew Seaman To: Barry Skidmore Message-ID: <20031130212409.GB6518@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Barry Skidmore , FreeBSD-Questions References: <1070222530.58178.69.camel@digital-village.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: <1070222530.58178.69.camel@digital-village.net> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD-Questions Subject: Re: Order of Creation of Partions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 21:24:50 -0000 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 30, 2003 at 03:02:10PM -0500, Barry Skidmore wrote: > I am preparing to do a fresh install of 4.9-RELEASE, and read in the > Handbook the following recommended partitions, and the order in which > they should be created: >=20 > / > swap > /var > /tmp > /usr >=20 > I would like to have two additional partitions, but do not see in the > Handbook their ordering, relative to the above: >=20 > /boot > /home Any way you like. sysinstall(8) doesn't give you the option, but if you use disklabel(8), other than the first three partitions -- da0s1a (root), da0s1b (swap) and da0s1c (whole disk -- never used as such) you can create partitions from da0s1d upto a maximum of da0s1h and mount them as whatever filesystems you want. Once you've got the root and swap partitions sorted, how you lay out the rest makes little difference. There are minor gains to be made by placing the most heavily used partitions towards the outer cylinders of the disk, but that doesn't apply on RAID5 or RAID0 (striped) disk arrays, and the amount gained hardly justifies the effort spent tweaking things. Layout is more a matter of individual taste than anything. Two points though: i) Don't put /boot on a separate partition. /boot contains stuff that is essential for booting the system, and as such *has* to be part of the root filesystem. ii) It's not so much the order of creation of the partitions that counts, but the order they lie across the drive. You don't even have to make the b, d, e, f, g, h partitions lie in cylinder order, although it would be perverse to shuffle them around arbitrarily. Putting the root 'a' partition anywhere except starting at cylinder 1 is asking for trouble though -- this is one of those conventions that practically has the force of law. Cheers, Matthew --=20 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 --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/yl/5dtESqEQa7a0RAoM8AJ92t70dAJ25FBAlZwXdXPzk8W5KZwCdEymG fphIZxyLg2cKRBMAlgp7ddM= =yRn/ -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7--