USB stick
Christoph P. Kukulies
kuku at physik.rwth-aachen.de
Tue Sep 9 00:23:17 PDT 2003
On Mon, Sep 08, 2003 at 11:57:53PM -0400, Michael W. Oliver wrote:
Content-Description: signed data
>
> 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?
Will take care that I will have it in my kernel config :-). This seems to
me the best solution of all suggestions I got so far.
Only drawback, which probably cannot be solved, to automatically unmount :-)
when the user is about to pull the stick.
Is there a detach line?
Or can the writing to the msdosfs be flushed everytime (if not adjusted that
way per se)?
> 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)!
Ah, so my considerations above seem to be hopeless, aren't they?
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
More information about the freebsd-questions
mailing list