pcmcia flash card mounting / reading?

Andrew L. Gould algould at datawok.com
Wed Sep 15 06:54:29 PDT 2004


On Tue, Sep 14, 2004 at 09:14:00PM -0600, Gary Aitken wrote:
> This has to be covered in the docs somewhere, but my searches there
> and on questions, hackers, and fs turned up zip.
> 
> Installed an old pcmcia card device,
> plugged in a flashcard reader w/card.
> 
> 4.10
> kernel contains
>   device ata
>   device card
>   device pcic0
> rc.conf contains
>   pccard_enable="YES"
> 
> I see
>   pccard: card inserted, slot 1
>   ...pccardd[52]: Card "SunDisk"("SDP") [5/3 0.6] [[none]]
>   matched "SunDisk" ("/.*/") [(null)] [(null)]
>   ata1 at port 0x240-0x247,0x24e irq 10 slot 1 on pccard1
>   ...pccardd[52]: ata1: SunDisk (/.*/) inserted.
> 
> So far, so good...
> 
> Now, I thought one should be able to read these as a file system.
> 
> If so, to what device does one mount?  I tried the ata device,
> but get the message "Block device required"; and there are no other
> ata entries in /dev.  Do I need to manually create these?
> 
> If not, what's the procedure for reading?
> 
> Thanks,
> 
> Gary

I think the flash card (compact flash, etc) are mounted as scsi devices, which means you'll need the appropriate scsi devices compiled into the kernel.  After inserting the storage device, you should see the scsi device appear in dmesg.

Best of luck,

Andrew Gould 


More information about the freebsd-questions mailing list