From owner-freebsd-questions@FreeBSD.ORG Tue Dec 28 01:16:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C35541065679 for ; Tue, 28 Dec 2010 01:16:35 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from mailgw3.surf-town.net (mail8.surf-town.net [212.97.132.48]) by mx1.freebsd.org (Postfix) with ESMTP id 7AB648FC18 for ; Tue, 28 Dec 2010 01:16:35 +0000 (UTC) Received: by mailgw3.surf-town.net (Postfix, from userid 65534) id 0A6771397C6; Tue, 28 Dec 2010 01:44:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailgw3.surf-town.net (Postfix) with ESMTP id C34B6139801; Tue, 28 Dec 2010 01:44:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw3.surf-town.net X-Spam-Score: 0.1 X-Spam-Level: X-Spam-Status: No, score=0.1 tagged_above=-999 required=7 tests=[RDNS_DYNAMIC=0.1] Received: from mailgw3.surf-town.net ([127.0.0.1]) by localhost (mailgw3.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Jw1jf68G92ok; Tue, 28 Dec 2010 01:44:48 +0100 (CET) Received: from lazlar.kicks-ass.net (c-6980e355.09-42-6e6b7010.cust.bredbandsbolaget.se [85.227.128.105]) by mailgw3.surf-town.net (Postfix) with ESMTP id F40791397F3; Tue, 28 Dec 2010 01:44:33 +0100 (CET) Message-ID: <4D1932F1.4050906@lazlarlyricon.com> Date: Tue, 28 Dec 2010 01:44:33 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.2.12) Gecko/20101120 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: FreeBSD Questions References: <20101227004708.c2d02d15.freebsd@edvax.de> <20101227013359.434b743d.freebsd@edvax.de> <20101227020125.9ab1a07f.freebsd@edvax.de> <20101228012644.03ded464.freebsd@edvax.de> In-Reply-To: <20101228012644.03ded464.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Polytropon Subject: Re: SD/CF card reader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 01:16:35 -0000 2010-12-28 01:26, Polytropon skrev: ... > > Still the method of issuing something like > > # true> /dev/da1 Try # mount /dev/da1 /mnt That makes GEOM taste the card, thus creating the device node(s) for the partition(s) on the card. And as long as you don't reboot, the device node(s) remain even when you remove the card, so you only need to do that the first time you access the card after rebooting. A dirty hack, but it has worked for me since I started using CF cards on a regular basis. Though I would also welcome some kind of automatic creation of the device node(s). > > looks wrong - even if it works. It looks like: "And now we > are overwriting the whole memory card with... erm... with > the truth, but at least we're overwriting it." This just > gives me a scary impression. There should be something > more "correct", such as resetting some bus via camcontrol > or re-reading a structure via usbdevs, but no> access > to the whole card. > > > ...