Re: DOS extended partition layout
From: Keve Nagy (NO_SPAM_at_poliod.hu)
Date: Tue, 06 Jan 2004 11:00:56 +0100
> 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.
> 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 ?
-- if you need to reply directly: keve(at)mail(dot)poliod(dot)hu