*BSD News Article 85637


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!news.pbi.net!news5.crl.com!nexp.crl.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Mounting DOS drives
Date: Wed, 25 Dec 1996 14:10:56 -0800
Organization: Walnut Creek CDROM
Lines: 24
Message-ID: <32C1A670.41C67EA6@FreeBSD.org>
References: <59hmci$qj5@news.xs4all.nl>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 3.0-CURRENT i386)
To: phiber0@xs4all.nl
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33137

phiber0@xs4all.nl wrote:
> 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''

Yes, you have a DOS partition that FreeBSD's current (buggy) msdosfs
code does not like, probably for its size (>511 MB partitions seem to
cause it special headaches).

You should probably use the mtools package (which you can configure to
understand that "C:" means /dev/wd0s1) until Robert Nordier finishes his
msdosfs rewrite.  It will fix these problems while also providing Win95
long filename support.  ETA is unknown, probably early in '97 sometime.
-- 
- Jordan Hubbard
  President, FreeBSD Project