Return to BSD News archive
Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!news.ysu.edu!usenet.ins.cwru.edu!gatech!newsxfer.itd.umich.edu!nntp.cs.ubc.ca!news.UVic.CA!uglx!gtimuss
From: gtimuss@uglx.UVic.CA (Gary Timuss)
Subject: mounting MSDOS partition: invalid argument [NetBSD 1.0]
Message-ID: <1995Feb3.081325.25989@sol.UVic.CA>
Sender: gtimuss@uglx.uvic.ca
Nntp-Posting-Host: uglx.uvic.ca
Organization: University of Victoria, Victoria, BC, Canada
Date: Fri, 3 Feb 95 08:13:25 GMT
Lines: 54
I have two Western Digital Caviar IDE Hard disks attached to
my Dell XPS Pentium/90. wdbig as wd0 is 1GB, wd2420 as wd1
is 420MB.
They are partitioned and disklabeled:
wdbig
a root
b swap
c=d full disk
e home
f usr
wd2420 (/dev/wd1d) 989cyls.:
a backup 4.2BSD 610-987
b not defined -
c BSD portion 610-987
d full disk 0-987
e dos 0-609
disklabel wd1 identifies the 4.2BSD filesystem
but calls the dos 'unknown'. Looking at the partition table,
the field was set to '0', so I changed it to '8', but disklabel
still thinks it is 'unknown'. DOS reads the partition as
drive C: just fine when booting off A:. DOS fdisk is thoroughly
confused (stating there is one primary non-dos partition of 25MB
on the drive and nothing else, which is entirely untrue).
pfdisk knows:
0 6 0 609
1 135 610 989
(none active)
/etc/disktab defines wd2420 as above, using f{ilesystem}e=MSDOS
/etc/fstab has:
/dev/wd1d msdos ro
/dev/wd1* are block devices.
calling "mount /dev/wd1a /backup" mounts that partition just fine.
Attempts to call "mount_msdos /dev/wd1e /dos" always return with
an "invalid argument" error. It is complaining about /dev/wd1e as
DOS floppies mount fine to /dos with mount_msdos.
DOSFS is compiled into the NetBSD 1.0 kernal.
Please e-mail or post if you have any ideas or experience similar
problems.
--
gtimuss@csc.uvic.ca
CSCU Secretary
<A HREF=http://www-engr.uvic.ca/~gtimuss/>Gary's Home Page</A>