Re: DOS extended partition layout

From: philo (philo_at_privacy.net)
Date: 01/06/04


Date: Tue, 6 Jan 2004 07:09:05 -0600


"Keve Nagy" <NO_SPAM@poliod.hu> wrote in message
news:bte104$616qp$1@ID-127951.news.uni-berlin.de...
>
>
> 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
was odd.
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)



Relevant Pages

  • Re: DOS extended partition layout
    ... A DOS extended partition is a Primary Partition ... 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 ...
    (comp.unix.bsd.freebsd.misc)
  • Re: DOS extended partition layout
    ... A DOS extended partition is a Primary Partition ... >> when I used Linux that fdisk could really show the logical drives inside ... > I've seen comments elsewhere that the FreeBSD partitioning tools ...
    (comp.unix.bsd.freebsd.misc)
  • Apparent regression in extended/logical partition handling
    ... FreeBSD 9-current can't "see" logical drives inside an extended partition unless all space is assigned to a logical volume, and all logical volumes are formatted with a file system. ... So then I proceeded with the Linux install and now FreeBSD 9 has the expected entries in /dev, and I can mount the fat32 volume. ...
    (freebsd-current)
  • Re: Query about FreeBSD and primary partitions requirements
    ... "FreeBSD must be installed into a primary partition." ... logical partition within an extended partition. ... the installation and operation of FreeBSD, ...
    (freebsd-questions)
  • Re: FreeBSD 5.1 Installation probelms
    ... > Just got my copy of FreeBSD 5.1. ... > Spent about an hour going through the BSD Handbook and ... Indeed you first have to resize the extended partition before you can use the ...
    (freebsd-hackers)