Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2010 01:44:33 +0100
From:      Rolf Nielsen <listreader@lazlarlyricon.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        Polytropon <freebsd@edvax.de>
Subject:   Re: SD/CF card reader
Message-ID:  <4D1932F1.4050906@lazlarlyricon.com>
In-Reply-To: <20101228012644.03ded464.freebsd@edvax.de>
References:  <20101227004708.c2d02d15.freebsd@edvax.de>	<AANLkTikQHoDsDxx30joFa3guNSCiJ_EJuEZV5zLhk=b1@mail.gmail.com>	<20101227013359.434b743d.freebsd@edvax.de>	<AANLkTik1SrAp_ySW3_GX_8rPQU4%2BWEJe=hHdJKgr6hVS@mail.gmail.com>	<20101227020125.9ab1a07f.freebsd@edvax.de>	<AANLkTi=O8KWOz-J85FzB7giDUtwtkDbhq-B8LKAiQP47@mail.gmail.com> <20101228012644.03ded464.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>
>
>
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D1932F1.4050906>