Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2003 09:22:59 +0200
From:      "Christoph P. Kukulies" <kuku@physik.rwth-aachen.de>
To:        "Michael W. Oliver" <michael@gargantuan.com>
Cc:        Todd Stephens <tbstep@tampabay.rr.com>
Subject:   Re: USB stick
Message-ID:  <20030909072259.GA25697@gilberto.physik.rwth-aachen.de>
In-Reply-To: <200309082358.05763.michael@gargantuan.com>
References:  <200309080805.h8885RT13026@accms33.physik.rwth-aachen.de> <200309081712.59846.tbstep@tampabay.rr.com> <200309082358.05763.michael@gargantuan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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