Subject: Mounting MSDOS Hard Drive (what am I doing wrong?)
To: None <netbsd-users@sun-lamp.cs.berkeley.edu>
From: x3673) <rob@sun701.nadc.navy.mil ( Rob Ginn>
List: netbsd-users
Date: 10/28/1994 16:34:32
Hi All,
I have been trying to mount an MSDOS hard drive partition under
NetBSD 1.0 (current).  I'm not having any luck at all.  Here is
what I get:

sun701-gw# mount -t msdos /dev/sd2e /mnt
msdos: mount: Device not configured

The device is there:

sun701-gw# ls -l /dev/sd2e
0 brw-r-----  1 root  operator    4,  20 Sep 27 17:03 /dev/sd2e

The disk is labeled:

sun701-gw# disklabel sd2
# /dev/rsd2d:
type: SCSI
disk: QGIG
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1006
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

5 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   507904  1538048    4.2BSD     1024  8192    16 	# (Cyl.  751 - 998)
  b:    10000  2047740    unused        0     0       	# (Cyl.  999*- 1004*)
  c:   520192  1538048    unused        0     0       	# (Cyl.  751 - 1004)
  e:  1435616       32    unused        0     0       	# (Cyl.    0*- 700*)

The MSDOSFS flag is specified in the kernal config file.  The msdos functions
made it into the kernal (I did an "nm" on the kernal).

Any suggestions would be appreciated.

Thanks,
Rob Ginn
rob@sun701.nadc.navy.mil