Date: Thu, 25 Jan 1996 02:59:10 +1100 From: Bruce Evans <bde@zeta.org.au> To: current@FreeBSD.org, freebsd@hopf.math.purdue.edu Subject: Re: extended DOS partitions <-> /dev/???? Message-ID: <199601241559.CAA26130@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>I have a drive with an extented partition. In that partition >is a logical drive. >With DOS, it is D: ( lots of help) >With Linux, it is /dev/hda5 >and Linux fdisk shows >Disk /dev/hda: 16 heads, 63 sectors, 1046 cylinders >Units = cylinders of 1008 * 512 bytes > Device Boot Begin Start End Blocks Id System >/dev/hda1 86 86 1023 472752 5 Extended >/dev/hda3 * 4 4 85 41328 6 DOS 16-bit >=32M >/dev/hda4 1 1 3 1480+ a OS/2 Boot Manager >/dev/hda5 86 86 1023 472720+ 6 DOS 16-bit >=32M >What is the FreeBSD name for this region of the disk? It should have the same slice number as in Linux: wd0s5. The numbers of logical drives after the first may differ due to different linearizations of the extended partition tree. >FreeBSD fdisk returns "partition 0" for the extended partition itself. FreeBSD fdisk doesn't support extended partitions or logical drives in them. Use sysinstall or /usr/src/release/libdisk/tst01 to see where they are. Use another fdisk to create them. Use `cd /dev; sh MAKEDEV wd0s5' to create devices for the logical drive (but not for the BSD partitions). All possible logical drives and partitions for them aren't created by default because there are too many possibilities (about 512 per drive). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601241559.CAA26130>