Subject: Re: Accessing an entire DOS FAT32 SCSI Drive
To: Mike Long <mikel@shore.net>
From: Jose Alburquerque <csjaa@css3s0.engr.ccny.cuny.edu>
List: port-i386
Date: 08/26/1997 03:10:02
On Mon, 25 Aug 1997, Mike Long wrote:
> >Date: Mon, 25 Aug 1997 17:03:12 -0400 (EDT)
> >From: Jose Alburquerque <csjaa@css3s0.engr.ccny.cuny.edu>
> >
> >Hi. Ive just installed NetBSD 1.2 on my second SCSI2 IBM DORS 32160W drive.
> >My problem is that I have a DOS (FAT32) partion that spans my first SCSI2
> ^^^^^
> I think that's your problem right there. AFAIK msdosfs does not
> support FAT32 (yet).
>
> > msdos: mount: Device not configured
>
> --
> Mike Long <mikel@shore.net> http://www.shore.net/~mikel
> "Every normal man must be tempted at times to spit on his hands,
> hoist the black flag, and begin slitting throats." -- H.L. Mencken
>
I guess you're right about the FAT32 problem. I backed up my system and
reformatted my drive to use the FAT16 file system. I also included a
NetBSD (type 165) partition at the end of the drive to make `disklabel'ing
a little easier. My disklabel now looks like:
# /dev/rsd0d:
type: SCSI
disk: dors
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 263
total sectors: 4225095
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: 96390 4096575 4.2BSD 512 4096 0 # (Cyl. 255 - 260)
c: 96390 4096575 unused 0 0 # (Cyl. 255 - 260)
e: 4096512 63 MSDOS # (Cyl. 0*- 254*)
(I had to actually edit the disklabel to make the type for partition e
MSDOS) I'm now able to mount the sd0e as a dos partition and get a listing
of the root directory (using ls), but whenever I try to read or write to
the partition I get:
panic: allocbuff: buffer larger than MAXBSIZE requested
Any ideas? Thanks.
-Jose
(Again!)
* * * * +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+
* * | Jose A. Alburquerque |
* O O * | joselito@becky.smartec.com |
* () * | csjaa@csfaculty.engr.ccny.cuny.edu |
* \----/ * | |
* * | "In God we trust" - From face of US penny |
* * * * +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+