Subject: Re: USB memory reporting "fabricating a geometry"
To: None <port-i386@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: port-i386
Date: 09/02/2005 06:10:25
david@l8s.co.uk (David Laight) writes:

>Isn't this 'just' the problem that netbsd doesn't support FAT filesystems
>above 128MB?

It doesn't? So far I haven't seen problems.

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: LEXAR MEDIA JUMPDRIVE GEYSR, rev 2.00/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <LEXAR, GEYSER JUMPDRIVE, 1.00> disk removable
sd0: 983 MB, 1999 cyl, 16 head, 63 sec, 512 bytes/sect x 2014992 sectors

% fdisk sd0
Disk: /dev/rsd0d
NetBSD disklabel disk geometry:
cylinders: 1999, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 2014992

BIOS disk geometry:
cylinders: 125, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 2014992

Partition table:
0: Primary 'big' DOS, 16-bit FAT (> 32MB) (sysid 6)
    start 63, size 2013921 (983 MB, Cyls 0-125/93/1), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>

% df -k /umass/.
Filesystem  1K-blocks      Used     Avail Capacity  Mounted on
/dev/sd0e     1006688     35856    970832     3%    /amd/pepew/a/umass

-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."