Skip site navigation (1)Skip section navigation (2)
Date:      25 Sep 2001 18:54:49 -0700
From:      swear@blarg.net (Gary W. Swearingen)
To:        Chip <chip@wiegand.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FDISK Partition Editor Question
Message-ID:  <4ed74evhqu.74e@localhost.localdomain>
In-Reply-To: <01092516402903.96094@chip.wiegand.org>
References:  <01092516402903.96094@chip.wiegand.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chip <chip@wiegand.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ed74evhqu.74e>