[lists] Re: Extended msdos partition

Remo Lacho Remo.Lacho at verizon.net
Sun Feb 27 02:03:54 GMT 2005


On 2/27/2005 at 2:40 AM Jan Sebosik wrote:

>Hi
>
>When I disklabel -r /dev/ad1s2 (the first extended slice), i get :    a: 
>135186912    62    MSDOS    c: etc # don`t delete this line....
>mount -t msdos /dev/ad1s2a /mnt/c   -->  no such file or device (yeah, 
>I`ve now looked into /dev/, and it really doesn`t exist in.... but don`t 
>know why it is so)
>mount -t msdos /dev/ad1s2 /mnt/c  --> invalid argument
>
>fdisk /dev/ad1s2 :
>  part1: start 63 size 135186912 (66008MB) type XY
>  part2: start 135186975  size 8209215 (4000MB)  <- this is 2.nd 
>extended partition I mentioned in prev. msg
>
>It`s still unclear to me, why disklabel doesnt create a /dev/ad1s2a....
>
>tnx
>Jan Sebosik
>
>

*********** REPLY SEPARATOR  ***********

If you get no joy from my previous reply forget about disklabel.

Unlike with OpenBSD, with FreeBSD you do not have to write a disklabel to be
able to mount an MSDOS slice (primary or extended).

If you were mounting an extended partition under Linux you would mount
/dev/hdx5 or /dev/hdx6 and so on.

With FreeBSD extended partitions start at /dev/[s/a]dxs5.

Good luck again!

--
Remo



More information about the freebsd-stable mailing list