Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 10:36:18 -0700
From:      walt <wa1ter@hotmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: GEOM question
Message-ID:  <3DADA392.3000308@hotmail.com>
References:  <aojv21$4u2$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DADA392.3000308>