From owner-freebsd-questions@FreeBSD.ORG Fri Nov 16 03:03:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B690AEA3 for ; Fri, 16 Nov 2012 03:03:57 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:4]) by mx1.freebsd.org (Postfix) with ESMTP id 01E998FC0C for ; Fri, 16 Nov 2012 03:03:56 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsIEAMyrpVDLevdH/2dsb2JhbABEvwKETYIeAQEFOEEQCw4KCRMDDwkDAgECAUUGDQEHAQGICL0mjDGFDQOmP4MC Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail04.adl6.internode.on.net with ESMTP; 16 Nov 2012 13:33:55 +1030 Message-ID: <50A5AB20.1080305@ShaneWare.Biz> Date: Fri, 16 Nov 2012 13:25:28 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Warren Block Subject: Re: Mounting SD card. References: <201211142058.18913.jmc-freebsd2@milibyte.co.uk> <201211150943.42772.jmc-freebsd2@milibyte.co.uk> <20121115105350.3c65aedf.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 03:03:57 -0000 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.