> Can anybody give me the magic recipe to mount the d:, e:, and f:
> extended DOS partitions of my wd0 disk? I tried the obvious command; i.e.,
supported ... yet. That was for ver 2.1.
-Jed
> Can anybody give me the magic recipe to mount the d:, e:, and f:
> extended DOS partitions of my wd0 disk? I tried the obvious command; i.e.,
-Jed
Can anybody give me the magic recipe to mount the d:, e:, and f:
extended DOS partitions of my wd0 disk? I tried the obvious command; i.e.,
root> mount_msdos /dev/wd0s2 /mnt/d
root> mount_msdos /dev/wd0s3 /mnt/e
..etc
But this did not work (the mount command itself returns an error).
In contrast, /dev/wd0s1 (my primary DOS partition) does mount fine
on /dos using the same kind of command. Here is a listing of the
relevant wd0 entries in /dev, on the theory that perhaps I'm missing
some slice devices or something:
brw-r----- 1 root operator 0, 65538 Apr 28 14:20 /dev/wd0
brw-r----- 1 root operator 0, 0 Apr 28 14:20 /dev/wd0a
brw-r----- 1 root operator 0, 1 Apr 28 14:20 /dev/wd0b
brw-r----- 1 root operator 0, 2 Apr 28 14:20 /dev/wd0c
brw-r----- 1 root operator 0, 3 Apr 28 14:20 /dev/wd0d
brw-r----- 1 root operator 0, 4 Apr 28 14:20 /dev/wd0e
brw-r----- 1 root operator 0, 5 Apr 28 14:20 /dev/wd0f
brw-r----- 1 root operator 0, 6 Apr 28 14:20 /dev/wd0g
brw-r----- 1 root operator 0, 7 Apr 28 14:20 /dev/wd0h
brw-r----- 1 root operator 0, 131074 Apr 28 14:20 /dev/wd0s1
brw-r----- 1 root operator 0, 196610 Apr 28 14:20 /dev/wd0s2
brw-r----- 1 root operator 0, 262146 Apr 28 14:20 /dev/wd0s3
brw-r----- 1 root operator 0, 327682 Apr 28 14:20 /dev/wd0s4
Any help would be greatly appreciated.
-David
> > Can anybody give me the magic recipe to mount the d:, e:, and f:
> > extended DOS partitions of my wd0 disk? I tried the obvious command; i.e.,
> Check the release notes. I recall that extended partitions aren't
> supported ... yet. That was for ver 2.1.
--
cheers, J"org
Never trust an operating system you don't have sources for. ;-)
>> > Can anybody give me the magic recipe to mount the d:, e:, and f:
>> > extended DOS partitions of my wd0 disk? I tried the obvious command; i.e.,
>> Check the release notes. I recall that extended partitions aren't
>> supported ... yet. That was for ver 2.1.
>They are now (even for 2.1R), and they are called `slices'. I believe
>there's something said in the handbook.
/dev> mknod /dev/wd0s5 b 0 393218
/dev> mknod /dev/wd0s6 b 0 458754
/dev> mknod /dev/wd0s7 b 0 524290
Continue this process for any higher extended partitions, each time adding
65536 to the last number on the command line. This will create for you
the properly-numbered IDE slice devices. Mount your partitions either in
/etc/fstab, or by manually issuing the following command:
..etc...Quote:> mount -t msdos /dev/wd0s5 /dos/d
> mount -t msdos /dev/wd0s6 /dos/e
Substitute your own DOS mount point in place of /dos/d and /dos/e.
Hope this information helps others out there.... (And somebody put this
in the handbook!) Thanks to those who provided me with clues.
-David.
wd0s1 through wd0s4 are the four table slots in the primary fdiskQuote:> Just to follow up with the answer... After a bit of research, I found that
> you can enable extended DOS partitions, but as I suspected, you need to add
> some additional slice devices to your /dev directory. FreeBSD
> pre-allocated wd0s1, wd0s2, wd0s3, and wd0s4 for you. wd0s1 is your
> primary DOS partition, and is mountable using the standard mount -t msdos
> command. The other partitions are not mountable; I have no idea what
> they're for.
I've seen fdisk programs as well that started out in slot 4, so your
primary DOS partition could be as well wd0s4. On a FreeBSD system,
one of the slots is usually occupied by the FreeBSD slice, and if
you've got a so-called extended DOS partition, it allocates a slot by
its own, though you can't do much with it (it's just a `container' for
the remaining partitions, similarly to the Russian Matryoshka
dollies).
While the extended partitions are only allocated as they have been
found, the four primary slots are statically pre-allocated, and always
have these names, regardless of whether the slots are actually used or
not. In theory, you can even have two of them allocated by DOS
partitions, i think DOS will be able to work with it as well, but it
doesn't let you create them itself. Of course, you can also have two
FreeBSD slices, but due to limitations in the bootstrap, you can only
boot off the first of them (by entry # in the fdisk table, while the
disk position is irrelevant).
--
cheers, J"org
Never trust an operating system you don't have sources for. ;-)
David> issue the following commands as root:
David> /dev> mknod /dev/wd0s5 b 0 393218
David> /dev> mknod /dev/wd0s6 b 0 458754
David> /dev> mknod /dev/wd0s7 b 0 524290
Or...
/dev> ./MAKEDEV wd0s5c
/dev> ./MAKEDEV wd0s6c
/dev> ./MAKEDEV wd0s7c
[if I remember correctly] to get the device files made for that slice and
the BSD partitions a,b,c (c is typically the whole slice). Probably ought
to use that MAKEDEV script to avoid problems with remember major & minor
numbers.
--
Scott Blachowicz Ph: 206/283-8802x240 Mathsoft (Data Analysis Products Div)
1700 Westlake Ave N #500
1. Mounting extended (DOS) partitions under FreeBSD 3.2 Rel.
Hi,
I have a machine running FreeBSD 3.2 with an 8Gig drive. The drive is
sliced as:
1 2Gb FAT32 Primary
2 2Gb BSD
3 4Gb FAT32 extended containing 2 'logical' DOS drives
I can mount wd0s1a (DOS drive C:) with no problems but I can't figure
out how to refer to the other two DOS drives (D: and E: under DOS).
Is this possible and if so how?
TIA
Steve.
3. mounting extended DOS partitions
5. Can't mount extended DOS partition
7. Need help mounting extended DOS partitions
9. how to mount extended dos partitions ??
10. can't mount Extended DOS partition
11. Mounting extended DOS partitions?
12. How to mount extended DOS partition?
13. How do you mount extended dos partitions?