USB stick
Michael W. Oliver
michael at gargantuan.com
Mon Sep 8 20:59:18 PDT 2003
+--- 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 these
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 be
fatal (to the kernel, not you)!
--
Mike
perl -e 'print unpack("u","88V]N=&%C=\"!I;F9O(&EN(&AE861E<G,*");'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030908/9741335e/attachment.bin
More information about the freebsd-questions
mailing list