Subject: Re: mounting dos image
To: None <collver1@attbi.com>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-users
Date: 04/26/2003 23:11:48
On Sat, 26 Apr 2003 collver1@attbi.com wrote:

> On Sat, Apr 26, 2003 at 08:46:00PM -0400, mcmahill@mtl.mit.edu wrote:
> > 
> > I'm trying to mount a file which is a DOS image.  I tried using vnconfig,
> > but I'm getting the following error:
> > 
> > %  vnconfig -c vnd0 drivec.img
> > %  mount -t msdos /dev/vnd0c /dos
> > mount_msdos: /dev/vnd0c on /dos: Invalid argument
> > 
> > is there a way to do this?  I'm on NetBSD-1.6.1/alpha
> 
> This is just a guess.  Could you try the following recipe?
> 
> 	sleep 100 </dev/vnd0d &
> 	mbrlabel -w -f /dev/vnd0d
> 	mount -t msdos /dev/vnd0? /dos

aha.  That helps.  Although I needed to use vnd0c for the sleep and
just /dev/vnd0 for mbrlabel.

I do get some complaints of 'bad address' when copying files into the dos
image though.

-Dan