Subject: Re: USB card readers?
To: Simon J. Gerraty <sjg@crufty.net>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-i386
Date: 03/28/2006 12:24:46
"Simon J. Gerraty" <sjg@crufty.net> writes:

> On 28 Mar 2006 10:59:26 -0500, "Nathan J. Williams" writes:
> >> Anyone read SD cards?  Perhaps I was being too optimistic to think
> >> they'd provide the same functionality as a CF...
> >
> >I have a couple of SD cards that I've used in various USB card
> >readers. This SanDisk reader mostly works (on 2.0.2 and 3.99.15/i386
> >systems):
> 
> Cool.  Another dumb question (or two).  
> 
> Do you scsictl scan the device before attempting to mount?

Nope. 

> Do I expect disklabel to give me a sane answer?

These days I expect most removable media to be MBR-partitioned, and to
get a faked-up disklabel from that. The SD card I used above ends up
with:

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:    246016         0     unused      0     0        # (Cyl.      0 -    120*)
 e:    245919        97      MSDOS                     # (Cyl.      0*-    120*)


> I also looked at the diff b/w 1.129 and 1.130 and it appears to
> already be in the 2.x branch

Yeah. I don't expect that to be terribly relevant to this problem, though.

        - Nathan