Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!psinntp!psinntp!psinntp!interramp.com!usenet From: myers@freebsd.interramp.com (David C. Myers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Mounting extended DOS partitions Date: 19 May 1996 18:50:13 GMT Organization: PSI Public Usenet Link Lines: 58 Message-ID: <4nnqh5$jt0@usenet7.interramp.com> References: <4nlopm$he4@usenet4.interramp.com> <319E9701.394F@netaxs.com> <4nn5sh$1ii@uriah.heep.sax.de> Reply-To: dcmyers@access.digex.net NNTP-Posting-Host: ip150.san-francisco3.ca.interramp.com X-Newsreader: knews 0.9.3 In article <4nn5sh$1ii@uriah.heep.sax.de>, j@uriah.heep.sax.de (J Wunsch) writes: >> David C. Myers wrote: >> > >> > 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. 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. To get at your d:, e:, f:, and higher extended partitions, issue the following commands as root: /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: > mount -t msdos /dev/wd0s5 /dos/d > mount -t msdos /dev/wd0s6 /dos/e ..etc... 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.