Date: Fri, 16 Nov 2012 13:25:28 +1030 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: Warren Block <wblock@wonkity.com> Cc: Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org Subject: Re: Mounting SD card. Message-ID: <50A5AB20.1080305@ShaneWare.Biz> In-Reply-To: <alpine.BSF.2.00.1211150853440.62459@wonkity.com> References: <CAGwOe2bDa2rYpVie3L_E-6=d%2B9uKkoeOHJE9bboAivM5X5rWhw@mail.gmail.com> <201211142058.18913.jmc-freebsd2@milibyte.co.uk> <alpine.BSF.2.00.1211141904580.57127@wonkity.com> <201211150943.42772.jmc-freebsd2@milibyte.co.uk> <20121115105350.3c65aedf.freebsd@edvax.de> <alpine.BSF.2.00.1211150853440.62459@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A5AB20.1080305>
