How to auto-detect a USB drive?
rsmith at xs4all.nl
Wed Mar 11 11:20:55 PDT 2009
On Wed, Mar 11, 2009 at 06:09:24PM +0000, Mike Clarke wrote:
> The scripts are a bit primitive and get totally confused if I insert
> more than one USB storage device at a time so would need some
> refinement for general use but work OK for me as the only user on this
If you give the msdosfs filesystem a unique label (with e.g. mlabel from
emulators/mtools), you'll get a unique device in /dev/msdosfs/.
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/99ec6bd9/attachment.pgp
More information about the freebsd-questions