*BSD News Article 59726


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!in2.uu.net!brighton.openmarket.com!decwrl!tribune.usask.ca!skatter!gregory
From: gregory@skatter.usask.ca (gregory brady)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Problem mounting msdos patition
Date: 16 Jan 1996 09:41:10 GMT
Organization: University of Saskatchewan
Lines: 33
Message-ID: <4dfrrm$obn@tribune.usask.ca>
NNTP-Posting-Host: skatter.usask.ca
X-Newsreader: TIN [version 1.2 PL2]

I can not get my ms-dos partitions to mount properly.  NetBSD 1.1 reside
s in a partition on my second (wd1) hard drive.  I decided that the first
step would be to get it to mount the dos partition on wd0.  The command I 
thought should work is
	mount -t msdos /dev/wd0d /dosdrv0
This produces an "illegal argument" error.  The directory /dosdrv1 exists.
I thought that wd0d would be the right device to choose since 
	fdisk /dev/rwd0d
shows the correct partition information for this drive, and produces no 
errors.
I have no problem mounting dos floppies using the command
	mount -t msdos /dev/fd0a /dosfloppy
Now, if I can get the drive that NetBSD isn't sharing with dos mounted, I 
want to try and get the drive that dos and NetBSD share mounted.  This is 
my second hard drive (wd1), and dos occupies two partitions from cylinder 
0 to 126 and from cylinder 127 to 381.  NetBSD has the parition from 
cylinder 382 to 617.  I haven't started trying to solve this problem yet, 
but any ideas on how to do this would be appreciated.
Reading the man pages for mount and mount_msdos I see that NetBSD is only 
supposed to work reliably with dos 3.3 files systems and below.  Would it 
be worth my while to download a Linux kernel and steal the msdos file 
system code from that?  Is it any better?  I plan on looking at the 
Linux kernels sometime anyway so I can get my CD-Rom drive up and running 
(no need doing work that's already been done).
Thanks again!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                Gregory Brady                              %
%                 Engineering Physics     Computational Science             %
%            gregory@skatter.usask.ca     grb220@mail.usask.ca              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%