Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!in-news.erinet.com!newsfeeder.sdsu.edu!hookup!news.mathworks.com!hunter.premier.net!news1.erols.com!newsmaster@erols.com From: Ken Bigelow <kbigelow@www.play-hookey.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: mounting a dos partition Date: Sat, 20 Jul 1996 18:04:05 -0700 Organization: Erols Internet Services Lines: 33 Message-ID: <31F18205.4128@www.play-hookey.com> References: <4s8uug$gj7@crow.cybercomm.net> <4sajb3$th@jraynard.demon.co.uk> NNTP-Posting-Host: kenjb05.play-hookey.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.02 (Win16; I) James Raynard wrote: > > In article <4s8uug$gj7@crow.cybercomm.net>, glen <gi143@cybercomm.net> wrote: > >Does anyone know how to mount a dos partition. I do not see a msdos > >file system anywhere. Thank you very much. > > mount -t msdos /dev/xdxsx /mnt > > where xdxsx is the appropriate device for the DOS partition (eg wd0s1 > for the first slice on an IDE disk). > > Warning - do *not* do this if the DOS partition was shrunk using > 'fips'. This can trigger some nasty bugs in FreeBSD's DOS support > which can cause filesystem corruption. > > A much safer way of doing this is to install the mtools package, which > also allows you to use DOS-style syntax to access the partition. > Check that last -- my copy of mtools works fine for floppies, but won't deal with a hard drive. However, the comment about partitions shrunk with fips is valid. The only way out of that mess is to re-fdisk the shrunken partition (delete it and then re-create it) to give it smaller clusters. A pain and a half, but much easier to use afterwards. It's actually not too bad if you have another place to store the DOS files while the re-fdisk operation and format is going on. -- Ken Are you interested in | byte-sized education | http://www.play-hookey.com over the Internet? |