*BSD News Article 85406


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!worldnet.att.net!news.mathworks.com!howland.erols.net!surfnet.nl!news.unisource.nl!xs4all!xs4all!phiber0
From: phiber0@xs4all.nl ()
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Mounting DOS drives
Date: 21 Dec 1996 21:55:30 GMT
Organization: XS4ALL, networking for the masses
Lines: 42
Message-ID: <59hmci$qj5@news.xs4all.nl>
NNTP-Posting-Host: xs1.xs4all.nl
X-XS4ALL-Date: Sat, 21 Dec 1996 22:55:30 MET
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32940

I have a FreeBSD 2.1.5 system on my 2nd harddrive and DOS on my 1st harddrive.
Of course it'd be nice if I could mount my DOS harddrive from BSD, so I
created a mountpoint (/dos) and added an entry in /etc/fstab like this:

/dev/wd0s1                      /dos            msdos   ro,noauto 0 0 

Now, when I want to mount my DOS drive (``mount /dos'') I get this disturbing
message:

``Dec 20 21:44:42 mappy /kernel: mountmsdosfs(): Warning: root directory is
not a multiple of the clustersize in length''

At first I decided this was no big deal; everything seemed to work fine, but
after a ``ls -l'' in a few directories on the /dos partition there's output like this:

``ls: da visua.l
c: No such file or directory
ls: db
ls
ma.n x: No such file or directory
ls: dplayer
.xcd: No such file or directory
ls: er
xcdpl.aye: No such file or directory
ls: es &
exi.t
f: No such file or directory
ls: hrc
csh
.ls
: No such file or directory
ls: ht
ls
li.str: No such file or directory
ls: ig
lS
vi. vg: No such file or directory''

The actual output is much longer, but I think you get the picture.
Am I doing something wrong here? Is my hardware faulty?

Please forgive any grammer errors; English is not my native language.