Subject: mounting MSDOS partition: invalid argument [NetBSD 1.0]
To: None <netbsd-help@NetBSD.ORG>
From: Gary Timuss <gtimuss@sirius.UVic.CA>
List: netbsd-help
Date: 02/03/1995 15:02:10
To: netbsd-help@netbsd.org
Subject: mounting MSDOS partition: invalid argument [NetBSD 1.0]
Newsgroups: comp.os.386bsd.questions
In-Reply-To: <1995Feb3.081325.25989@sol.UVic.CA>
Organization: University of Victoria, Victoria, BC, Canada
Cc:
Bcc:
------- start of forwarded message -------
Newsgroups: comp.os.386bsd.questions
Date: Fri, 3 Feb 95 08:13:25 GMT
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>
------- end of forwarded message -------
--
gtimuss@csc.uvic.ca
CSCU Secretary
<A HREF=http://www-engr.uvic.ca/~gtimuss/>Gary's Home Page</A>