Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 16:16:11 -0800
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Mike Meyer <mwm-dated-1049135784.46af66@mired.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: disklabel - 8th partition shows "X" as Partition name
Message-ID:  <20030327001611.GA49080@webserver.get-linux.org>
In-Reply-To: <16001.62247.178774.960037@guru.mired.org>
References:  <3E81D7AE.60603@centtech.com> <3E81E0F2.4060801@gmx.de> <3E81E15C.4050208@centtech.com> <3E81E34D.1010503@gmx.de> <16001.59693.892788.392814@guru.mired.org> <3E81EC91.3010500@gmx.de> <16001.62247.178774.960037@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 26, 2003 at 12:36:23PM -0600 or thereabouts, Mike Meyer arranged some electrons to write:
> In <3E81EC91.3010500@gmx.de>, Siegbert Baude <siegbert.baude@gmx.de> typed:
> > >>I once tried to use (in DOS-terms) logical partitions within an 
> > >>extended partition. This is possible, if you do the math and creation 
> > >>of partition tables by hand, but is not supported by the FreBSD tools. 
> > > No, you don't need to do anything by hand. Just disklabel /dev/amr0s5
> > > and so on, and create the partitions in it. I will note that on
> > > 5.0-RELEASE, the extended slice devices didn't get created for me.
> > Yes, disklabel worked o.k., I talked about potential problems with 
> > (DOS-term) partition tables, aka slice tables.
> > It's about two years ago, that I experimented with FBSD and 
> > "extended/logical slices", but at least fdisk and /stand/sysinstall 
> > didn't support those then. Did this change? At the moment I don't have 
> > a spare system to experiment and check this myself.
> 
> Ah, I understand you this time. The FreeBSD tools for manipulating
> slices don't grok extended slices. I forget what I used to do this -
> possibly Linux fdisk - but it wasn't the FreeBSD tools. The
> alternative on FreeBSD is to do the calculation by hand, as you said.
> 

I was experimenting with this too.
I made two ports of other fdisk utilites that could handle extended partitions:
OpenBSD fdisk and Linux fdisk.

If you want them, go:
	http://64.161.78.226/openbsd-fdisk-freebsd-port.tar.gz
	http://64.161.78.226/linux-fdisk-freebsd-port.tar.gz

Note that Linux cfdisk is included in the linux fdisk package but doesn't work.
The port is just enough to be able to edit ptable with linux fdisk.

OpenBSD fdisk seems to work fine.
Hope this helps!

>
> 	<mike
> -- 
> Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
> Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

-- Josh



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