Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 1998 18:02:21 -0600
From:      Brett Glass <brett@lariat.org>
To:        Dan Nelson <dnelson@emsphone.com>, sab@seanet.com
Cc:        Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG
Subject:   Re: MSDOS extended partitions and "slices"
Message-ID:  <199809030005.SAA02250@lariat.lariat.org>
In-Reply-To: <19980902175652.A11500@emsphone.com>
References:  <199809022113.PAA00535@lariat.lariat.org> <199808080608.AAA16222@lariat.lariat.org> <199808021131.FAA12204@lariat.lariat.org> <199808080608.AAA16222@lariat.lariat.org> <199809021901.MAA21131@two.sabami.seaslug.org> <199809022113.PAA00535@lariat.lariat.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:56 PM 9/2/98 -0500, Dan Nelson wrote

>Sure it's logical.  FDISK slices are always numbers; disklabel
>partitions are always letters.

DOS logical drives are not slices! They're the equivalent of
disklabel partitions and should have letters at the end.

--Brett

>
>wd1s1  .. wd1s4 are the four primary fdisk slices.  Any or all of them
>MAY be a container (i.e. extended partition type).  If any of them are,
>then they are scanned for valid partition entries (including more
>nested extended partitions), and any of those will appear at wd1s5, s6,
>etc.  The kernel sets an arbitrary limit of 32 of these slices.
>
>So say you had a mythical 14G IDE drive partitioned with FAT16 DOS
>drives:
>
>+--------+-----------------------------------------------------+
>|   C:   |                 extended  partition                 |
>+--------+- - - - + - - - -+- - - - + - - - - - - - - - - - - -+
>         |   D:   |   E:   |   F:   |      extended part.      |
>         +--------------------------+ - - - - - - - - - - - - -+
>                                    |   G:   |   H:   |   I:   |
>                                    +--------------------------+
>
>(boy, I respect Terry more now.  Drawing ascii-art isn't easy :)
>
>In your naming scheme, what would drive 'G:' be?  wd1s2da ?  FreeBSD
>would name them like this (after looking at the code in
>diskslice_machdep.c; I could be wrong):
>
>wd1s1  C:
>wd1s2  extended partition container #1
>wd1s3  empty
>wd1s4  empty
>wd1s5  D:
>wd1s6  E:
>wd1s7  F:
>wd1s8  extended partition container #2
>wd1s9  G:
>wd1s10 H:
>wd1s11 I:
>
>	-Dan Nelson
>	dnelson@emsphone.com


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?199809030005.SAA02250>