Date: Sun, 26 Dec 2010 19:35:20 -0600 From: Adam Vande More <amvandemore@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: SD/CF card reader Message-ID: <AANLkTi=O8KWOz-J85FzB7giDUtwtkDbhq-B8LKAiQP47@mail.gmail.com> In-Reply-To: <20101227020125.9ab1a07f.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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 26, 2010 at 7:01 PM, Polytropon <freebsd@edvax.de> wrote: > Not needed - it works! The strange thing is that there are no > console messages when inserting the SD and CF cards (both > do work), in contrast to what happens if I use a regular > USB stick. > My understanding is that USB devices can only respond to information requests, not broadcast changes so that is why nothing is in dmesg indicating new media has been inserted. Unless you have GEOM or something like hal constantly polling the device you won't be alerted. Normal USB flash drives are different than SD readers because GEOM can poll them immediately. I'm still frightened as > > # true > /dev/da0 > > suggests that something important might get overwritten. :-) > > GEOM: da1: partition 1 does not start on a track boundary. > GEOM: da1: partition 1 does not end on a track boundary. > GEOM: da1: partition 1 does not start on a track boundary. > GEOM: da1: partition 1 does not end on a track boundary. Yeah I don't know about that. I think it's just a warning but maybe trying using FreeBSD zero out device, partition(slice) and newfs_msdos it. dd if=/dev/zero of=/dev/da0 bs=512k count=10 fdisk -i /dev/da0 newfs_msdos -F32 /dev/da0s1 -- Adam Vande More
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=O8KWOz-J85FzB7giDUtwtkDbhq-B8LKAiQP47>