From owner-freebsd-questions Wed Sep 2 17:06:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA03192 for freebsd-questions-outgoing; Wed, 2 Sep 1998 17:06:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lariat.lariat.org (lariat.lariat.org [206.100.185.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA03179 for ; Wed, 2 Sep 1998 17:06:55 -0700 (PDT) (envelope-from brett@lariat.org) Received: (from brett@localhost) by lariat.lariat.org (8.8.8/8.8.6) id SAA02250; Wed, 2 Sep 1998 18:05:46 -0600 (MDT) Message-Id: <199809030005.SAA02250@lariat.lariat.org> X-Sender: brett@mail.lariat.org X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1.0.49 (Beta) Date: Wed, 02 Sep 1998 18:02:21 -0600 To: Dan Nelson , sab@seanet.com From: Brett Glass Subject: Re: MSDOS extended partitions and "slices" Cc: Doug White , questions@FreeBSD.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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