From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 23:38:41 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 6EDA937B401 for ; Sun, 6 Jul 2003 23:38:41 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD64B43FEA for ; Sun, 6 Jul 2003 23:38:40 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h676cYk16252; Sun, 6 Jul 2003 23:38:34 -0700 From: Kent Stewart To: Brian Astill , Wayne Pascoe , freebsd-questions@freebsd.org Date: Sun, 6 Jul 2003 23:38:33 -0700 User-Agent: KMail/1.5.2 References: <20030706183640.GA53902@marvin.penguinpowered.org.uk> <200307061251.40856.kstewart@owt.com> <200307071515.12578.bastill@adam.com.au> In-Reply-To: <200307071515.12578.bastill@adam.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307062338.33869.kstewart@owt.com> Subject: Re: Mounting extended dos partition 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: Mon, 07 Jul 2003 06:38:41 -0000 On Sunday 06 July 2003 10:45 pm, Brian Astill wrote: > On Mon, 7 Jul 2003 05:21 am, Kent Stewart wrote: > > > Any ideas on how I mount this logical drive in this extended > > > partition ? > > > > The extended partitions all start at 5 because you can have 4 primary > > partitions. > > Typo! should read "can't" , or "cannot have more than three primary > partitions" > Not true. In the handbook in section 2.5.2 you will find the following Each partition-that-contains-a-filesystem is stored in what FreeBSD calls a slice. Slice is FreeBSD's term for what were earlier called partitions, and again, this is because of FreeBSD's Unix background. Slices are numbered, starting at 1, through to 4. Slice numbers follow the device name, prefixed with an s, starting at 1. So ``da0s1'' is the first slice on the first SCSI drive. There can only be four physical slices on a disk, but you can have logical slices inside physical slices of the appropriate type. These extended slices are numbered starting at 5, so ``ad0s5'' is the first extended slice on the first IDE disk. These devices are used by file systems that expect to occupy a slice. I had several NT based systems with 4 primary partitions. These systems were later upgraded to only having 3 primary but the logicals still start at ad0s5 and etc. Kent > Note that there is often some weirdness mounting windos partitions from > un*x. My FBSD4.8 can't access a windos logical/extended partition, > though in that condition windos is happy, but can access that same > partition as primary, though windos then hides the partition(and I have > to manually un-hide it). > On another system, an extended partition is inaccessible as dos, but is > seen fine by both winNT and Un*x as NTFS. > Weird. -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html