From owner-freebsd-current Wed Jan 24 08:11:03 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA04072 for current-outgoing; Wed, 24 Jan 1996 08:11:03 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA04057 for ; Wed, 24 Jan 1996 08:10:49 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id CAA26130; Thu, 25 Jan 1996 02:59:10 +1100 Date: Thu, 25 Jan 1996 02:59:10 +1100 From: Bruce Evans Message-Id: <199601241559.CAA26130@godzilla.zeta.org.au> To: current@FreeBSD.org, freebsd@hopf.math.purdue.edu Subject: Re: extended DOS partitions <-> /dev/???? Sender: owner-current@FreeBSD.org Precedence: bulk >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