From owner-freebsd-questions@FreeBSD.ORG Mon Dec 27 01:35:22 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 35D27106566B for ; Mon, 27 Dec 2010 01:35:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BA02A8FC08 for ; Mon, 27 Dec 2010 01:35:21 +0000 (UTC) Received: by fxm16 with SMTP id 16so8570391fxm.13 for ; Sun, 26 Dec 2010 17:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=4mdozLs+qN2IW+WqLknFwQ/KkTHGZlJL3cbG98sX+hM=; b=timZb4ziogsu6Qya4wvucKGHaPdYEmK7lPRmCgac9z4kqPGms/M62DbieOsDoeZc2u gZsheXTRh8ZR6LXobfx72NAS0dVi9bGuD2wRqPQUtz6ysLO3iNF/hkeEcId51jHaqDXw hmFTXnauLyFJyjNlbmhQpbOIzZ2CIol/GuDrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OGAF6Xz0tw+xDHj5gzXqp7yxvZgi/zj0pM1Ag3JS8xsg1YOk0tEfH3vg6gjRZdQNej GXXzhMrSerBoXr4LV+nKluXOpain8KxWDhucYVTAxIIeZRBa0BV04tSbXGeclAgORuYb QnSsk6+nrbGZGQNOW4XMUXJxqX0Gz9EH58Qig= MIME-Version: 1.0 Received: by 10.223.71.197 with SMTP id i5mr2801285faj.127.1293413720599; Sun, 26 Dec 2010 17:35:20 -0800 (PST) Received: by 10.223.114.4 with HTTP; Sun, 26 Dec 2010 17:35:20 -0800 (PST) In-Reply-To: <20101227020125.9ab1a07f.freebsd@edvax.de> References: <20101227004708.c2d02d15.freebsd@edvax.de> <20101227013359.434b743d.freebsd@edvax.de> <20101227020125.9ab1a07f.freebsd@edvax.de> Date: Sun, 26 Dec 2010 19:35:20 -0600 Message-ID: From: Adam Vande More To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions 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: Mon, 27 Dec 2010 01:35:22 -0000 On Sun, Dec 26, 2010 at 7:01 PM, Polytropon 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