From owner-freebsd-current Wed Oct 16 10:38:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B588637B401 for ; Wed, 16 Oct 2002 10:38:25 -0700 (PDT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15EFE43EA9 for ; Wed, 16 Oct 2002 10:38:25 -0700 (PDT) (envelope-from wa1ter@hotmail.com) Received: from hotmail.com (adsl-67-114-252-155.dsl.lsan03.pacbell.net [67.114.252.155]) by pimout2-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id g9GHcNcK079532 for ; Wed, 16 Oct 2002 13:38:24 -0400 Message-ID: <3DADA392.3000308@hotmail.com> Date: Wed, 16 Oct 2002 10:36:18 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021001 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: GEOM question References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Bruce Evans wrote: > On Wed, 16 Oct 2002, walt wrote: > > >>Bruce Evans wrote: >> >> >>>Don't use extended partitions directly. It is easy to >>>make a mess by clobbering the pointers to the logical drive >>>within them. >>I need to ask for clarification on this point. What do you >>mean by 'directly'? > Just write to them using anything that doesn't understand that they > are containers for logical drives. E.g., newfs would leave their > boot record intact since it leaves some sectors for the label and > boot blocks, but it would scribble over any logical drives within the > extended partition in a non-useful way. Once again you leave me puzzled. 'newfs /dev/ad2s8' is exactly how I formatted the partition and everything is working perfectly. I went back and checked the other four filsystems in that extended partition and none of them have errors. (Two fat32, one ext2, one NTFS.) In addition I see this on -CURRENT (with GEOM): #disklabel ad2s8 disklabel: ioctl DIOCGDINFO: Operation not supported by device and this on -STABLE (different machine): # disklabel ad0s7 disklabel: ioctl DIOCGDINFO: Invalid argument so (for me) disklabel does not work on extended/logical partitions. I'm wondering if something major has changed in the years since you last tried using logical drives in FreeBSD? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message