Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: mount_msdos fails on second hard drive Date: 8 Jan 1996 13:12:48 GMT Organization: Private BSD site, Dresden Lines: 26 Message-ID: <4cr58g$pl@uriah.heep.sax.de> References: <30F0AF2E.167EB0E7@vt.edu> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 Ryan Schutt <rschutt@vt.edu> writes: > I am having trouble mounting my dos D: drive from freeBSD (2.0.5) > hard drive one is 730MB, and is C: in dos, and is where i boot > win95/dos from. hard drive two is 730MB, and is partitioned into > 300MB (dos D:) and the rest for freeBSD. when I try 'mount_msdos > /dev/wd1s1 /dosd', it says, 'mount_msdos: mount: invalid argument' > What am i doing wrong? C: mounts fine using 'mount_msdos /dev/wd0s1 > /dosc' Btw., don't call mount_msdos directly. The generic way is supplying the `-t msdos' argument to mount. The FreeBSD slice numbers reflect the location of the appropriate partition entry in the fdisk table. Most likely, your DOS partition ain't the physically first one in this table, that's why wd1s1 is wrong. Simply run fdisk /dev/rwd1, and see which is the right slot number. (The first slot is /dev/wd1s1, the fourth slot is /dev/wd1s4.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)