From owner-freebsd-current Tue Jun 12 3: 6:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id B16FC37B407 for ; Tue, 12 Jun 2001 03:06:27 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id UAA23328; Tue, 12 Jun 2001 20:06:14 +1000 Date: Tue, 12 Jun 2001 20:04:02 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: "Andrey A. Chernov" Cc: current@FreeBSD.ORG Subject: Re: msdosfs can't mount Extended partition. Any ideas? In-Reply-To: <20010612120822.B56159@nagual.pp.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 12 Jun 2001, Andrey A. Chernov wrote: > On Tue, Jun 12, 2001 at 15:25:27 +1000, Bruce Evans wrote: > > On Tue, 12 Jun 2001, Andrey A. Chernov wrote: > > > > > I just found that msdosfs can't mount legal Extended partition because > > > required info is few blocks later in that case, not immediately as for > > > Primary partition. Is it known problem, or I am first who notice > > > that? Does anybody have some fix for that? > > > > Extended partititons aren't mountable (even under DOS/Windows), since they > > are just containers for logical drives (and further extended partitions). > > Just mount the logical drive (slice) that you want. > > Where is such slice then? I have ad0s1 for FreeBSD, ad0s2 for Primary and > ad0s3 for Extended container of logical drive. Real fat32 code started in > ad0s3 a bit later, but I don't have a device name to mount it (or I miss > something). Logical drives within extended partitions start at slice 5. These slices are not created by default by MAKEDEV. devfs should create them in -current. I'm not sure if it creates them before they are looked at using stat() or open(). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message