Re: DOS extended partition layout
From: philo (philo_at_privacy.net)
Date: Tue, 6 Jan 2004 07:09:05 -0600
"Keve Nagy" <NO_SPAM@poliod.hu> wrote in message
> philo wrote:
> > I did not ask a question...I made a statement.
> You are correct. My apalogies! It was a statement indeed.
> So let me correct my words: I found your STATEMENT a bit strange.
Probably because I am a bit of an oddball I suppose <g>
> > here is an example (just use your own parameters):
> > mount -t msdos /dev/ad0s5 /dos
> See, here is the foundation of our real misunderstandings.
> ad0s5, s6, and above are all logical units inside a DOS extended
> partition. A DOS extended partition is a Primary Partition (AKA a slice)
> although it is never referenced directly on its own. It would be useless
> as its only purpose is to hold further pieces of disk-areas, called the
> logical-units or logical partitions.
> You confused the logical partitions with the extended partition!
> Your mount command is an example of how to mount a logical dos drive
> which resides in an extended partition. This can only be done when you
> know that this dos drive is the first logical unit in the extended
> partition (s5 = first logical inside the extended). Of course, for this
> first you have to be able to list the logical units inside the extended,
> to find out that this one is the first, second, etc.
> See, my original question was exactly pointing to this. I would like to
> list the contents of my extended partition (so that I know what to mount
> when I need something from a logical FAT/NTFS/HPFS or EXT partition).
> But all this is technically just chewing on some terms or expressions,
> which I am not intended to do in any more details. :-)
> The question remains, how can one list the logical drives inside an
> extended partition using any freebsd tool?
> Per Hedeland just replied that linux-fdisk is in the ports. I remember
> when I used Linux that fdisk could really show the logical drives inside
> the extended. SO this could be a solution. Any other idea, somebody ?
Ok ...now that I understand the question I see why you thought my comment
I've seen comments elsewhere that the FreeBSD partitioning tools
are less than ideal...and have heard that some prefer to use Linux's fdisk.
Next time I do a FreeBSD install I'll try Linux fdisk instead and make a
comparison. Although I;ve never had any trouble installing FreeBSD
with it;s own partitioning utilities...I have noticed that other operating
systems see the drive as being corrupted! (Though of course to FreeBSD
it is not)