From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 20:59:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89AA016A4BF for ; Mon, 8 Sep 2003 20:59:18 -0700 (PDT) Received: from phoenix.gargantuan.com (rrcs-se-24-73-171-238.biz.rr.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA0AF43FF2 for ; Mon, 8 Sep 2003 20:59:17 -0700 (PDT) (envelope-from michael@gargantuan.com) Received: from cyclops.gargantuan.com (cyclops.gargantuan.com [3ffe:c00:8034:a00::18]) by phoenix.gargantuan.com (Postfix) with ESMTP id B204539C; Mon, 8 Sep 2003 23:59:16 -0400 (EDT) From: "Michael W. Oliver" To: Christoph Kukulies , freebsd-questions@freebsd.org Date: Mon, 8 Sep 2003 23:57:53 -0400 User-Agent: KMail/1.5.3 References: <200309080805.h8885RT13026@accms33.physik.rwth-aachen.de> <200309081712.59846.tbstep@tampabay.rr.com> In-Reply-To: <200309081712.59846.tbstep@tampabay.rr.com> PersonalEmail: michael@gargantuan.com wwwSite: http://michael.gargantuan.com GPGPubKey: $wwwSite/gnupg/pubkey.asc HomePhone: +1-863-816-8091 MobilePhone: +1-863-738-2334 HomeAddress: 8008 Apache Lane, Lakeland, FL, US 33810-2172 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_N/UX/g/tmDM3A4s"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200309082358.05763.michael@gargantuan.com> cc: Todd Stephens Subject: Re: USB stick X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: michael@gargantuan.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 03:59:18 -0000 --Boundary-02=_N/UX/g/tmDM3A4s Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline +--- On Monday, September 08, 2003 17:12 --- | Todd Stephens proclaimed: | | On Monday 08 September 2003 04:05 am, Christoph Kukulies wrote: | > # mount -t msdos /dev/da0 /mnt | > msdosfs: /dev/da0: Invalid argument | | This is speaking from Linux experience, as I do not have my USB CF card | reader working under FBSD yet, but you probably need to mount a slice | and/or partition rather than the device itself. Under Linux, my card | reader was detected as /dev/hdb0, but to mount it I had to mount | /dev/hdb1, being the first partition of device hdb0. You'll probably | need to mount /dev/da0s1a or something along those lines. This is just | a guess on my part, though. Here is an entry from my custom /etc/usbd.conf: device "Memorex ThumbDrive" product 0x9988 vendor 0x0a16 release 0x0100 class 0x0000 subclass 0x0000 protocol 0x0000 devname "umass0" attach "/sbin/mount_msdosfs -u michael -g users /dev/da0 /mnt/ThumbDrive" and as soon as I plug it in, it is automatically mounted. Do you have thes= e=20 options in your kernel config file? device scbus device da device pass I am successfully running this under -current, btw. Also, be sure to umount the stick manually before removing it or it could b= e=20 fatal (to the kernel, not you)! =2D-=20 Mike perl -e 'print unpack("u","88V]N=3D&%C=3D\"!I;F9O(&EN(&AE861E