From owner-freebsd-questions Tue Sep 25 18:56:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id BF09037B415 for ; Tue, 25 Sep 2001 18:56:13 -0700 (PDT) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 705D4BD60; Tue, 25 Sep 2001 18:56:13 -0700 (PDT) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id SAA23501; Tue, 25 Sep 2001 18:56:13 -0700 Received: (from jojo@localhost) by localhost.localdomain (8.11.3/8.11.3) id f8Q1snW59009; Tue, 25 Sep 2001 18:54:50 -0700 (PDT) (envelope-from swear@blarg.net) To: Chip Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FDISK Partition Editor Question References: <01092516402903.96094@chip.wiegand.org> From: swear@blarg.net (Gary W. Swearingen) Date: 25 Sep 2001 18:54:49 -0700 In-Reply-To: <01092516402903.96094@chip.wiegand.org> Message-ID: <4ed74evhqu.74e@localhost.localdomain> Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Chip writes: > Name PType Desc Subtype Flags > ---------------------------------------------------- > - 6 unused 0 > ad0s1 3 FreeBSD 165 C > - 6 unused 0 > > Now when I choose to Set Bootable, I am assuming I do that to the ad0s1 > partition, right? What are the other two partitions? And why are there 3 of > them anyway? I choose the option to use the entire disk afterall. I think it's more accurate to say that there is only 1 primary partition (slice) and 2 unused disk areas. I suppose that one could have as many as 4 primary partitions and 5 unused disk areas. I'm suprised that doesn't say something about C/H/S and sizes. If it did, I think you'd see that there's one track (one head, one cyl) reserved for the MBR and nothing else I know about. FreeBSD seems to always use track boundaries as slice boundaries. That doesn't explain the last type-6 area, unless maybe you asked for a certain number of cylinders instead of using the remaining number of bytes (which would be a multipe of one track), and maybe it left the last cylinder (or cylinder minus a track?) unused. I've never see that, though I always see the first unused area. BTW, a similar thing goes on with the secondary partitions (BSD "partitions") within the primary partitions. The primary partition has a boot record and something like 16 sectors of other disklabel+ secondary boot code and, IIRC, unused areas to make some secondary partition and track (or cylinder?) boundaries line up. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message