Mounting SD card.
Shane Ambler
FreeBSD at ShaneWare.Biz
Fri Nov 16 03:03:57 UTC 2012
On 16/11/2012 02:25, Warren Block wrote:
> On Thu, 15 Nov 2012, Polytropon wrote:
>
>> Is there a recommended way to automate the "GEOM re-tasting" so
>> SD cards can be accessed without further interaction (by simply
>> using the correct mount command)?
>
> Not AFAIK. Could depend on hardware also; some card readers might not
> need it.
I haven't tried this ---
Given that the reader is a usb device could it be added to the devd setup?
Something like -
attach 200 {
device-name "da[0-9]+";
match "vendor" "0x058f";
match "product" "0x6362";
action "/usr/bin/true > /dev/${device-name}";
};
Saved to /usr/local/etc/devd/SD.conf
vendor and product are from my internal reader that I never use as I
never did get it to mount a card - I have an external reader that works
fine. There should be a more generic way to recognise card readers.
More information about the freebsd-questions
mailing list