Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2003 23:57:53 -0400
From:      "Michael W. Oliver" <michael@gargantuan.com>
To:        Christoph Kukulies <kuku@physik.rwth-aachen.de>, freebsd-questions@freebsd.org
Cc:        Todd Stephens <tbstep@tampabay.rr.com>
Subject:   Re: USB stick
Message-ID:  <200309082358.05763.michael@gargantuan.com>
In-Reply-To: <200309081712.59846.tbstep@tampabay.rr.com>
References:  <200309080805.h8885RT13026@accms33.physik.rwth-aachen.de> <200309081712.59846.tbstep@tampabay.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<G,*");'



--Boundary-02=_N/UX/g/tmDM3A4s
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA/XU/NsWv7q8X6o8kRAg5KAKCyadK51HEOekg7pctCxpwZq7GTPACdHc0q
Y4YaM4Yo2o94rwiS20Wn6I4=
=sIy0
-----END PGP SIGNATURE-----

--Boundary-02=_N/UX/g/tmDM3A4s--



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