Re: DOS extended partition layout

From: Keve Nagy (NO_SPAM_at_poliod.hu)
Date: 01/06/04


Date: Tue, 06 Jan 2004 11:00:56 +0100


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.
:-)

>
> 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 ?

Keve

-- 
if you need to reply directly:
keve(at)mail(dot)poliod(dot)hu


Relevant Pages

  • Re: DOS extended partition layout
    ... A DOS extended partition is a Primary Partition ... > logical-units or logical partitions. ... I've seen comments elsewhere that the FreeBSD partitioning tools ...
    (comp.unix.bsd.freebsd.misc)
  • Re: DOS extended partition layout
    ... >>My actual question for today is related to one's DOS extended partition. ... >>can list the BSD style partitions (also referred to as logical units) ... How could I mount the entire extended partition, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: partition problems
    ... I now know that /dev/hda2 is the extended partition ... or winxp without ... After failing to mount I ran fdisk to check for more ...
    (Debian-User)
  • Mounting extended dos partition
    ... I have an 80 Gig hard drive with the following partition layout: ... Any ideas on how I mount this logical drive in this extended partition? ... Information from DOS bootblock is: ...
    (freebsd-questions)
  • Re: How do you mount a logical partition?
    ... > How do you mount an extended partition of a vfat filesystem? ... What you have to do now is creating a logical partition, ...
    (linux.redhat.misc)