Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Aug 1998 05:31:07 -0600
From:      Brett Glass <brett@lariat.org>
To:        questions@FreeBSD.ORG
Subject:   MSDOS extended partitions and "slices"
Message-ID:  <199808021131.FAA12204@lariat.lariat.org>

next in thread | raw e-mail | index | archive | help
Just mounted a DOS/Windows hard disk on a system running FreeBSD 2.2.7, but
with some difficulty. Why? Because the scheme for assigning names and
numbers to the slices was very odd, and some of the needed nodes in /dev
just weren't there.

The C: partition of the disk came out as wd1s1, which seems reasonable. But
D: didn't come out at wd1s2. Instead, it came out at wd1s5. (I couldn't
make 2-4 do anything). And successive logical drives came out at 6, 7, 8,
etc. While the error messages from the mount command showed that it
considered the partitions to be numbered as wd1s<n> (where n went up to
12), they couldn't be mounted until I used /dev/MAKEDEV to create a device
node for each one.

I've got them all working and in FSTAB now, but it was quite the puzzle.
What is the rationale behind the numbering scheme? Are s1,s2,s3,and s4 the
primary partitions? If so, shouldn't the logical drives really be s1a, s1b,
s1c, etc.? And, , is there an easy way to generate (or have the system
generate) the /dev nodes automatically? I might one day stick in a Jaz
cartridge with more partitions than before and need to read it in a hurry.

--Brett


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808021131.FAA12204>