Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2009 19:20:52 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Mike Clarke <jmc-freebsd2@milibyte.co.uk>
Cc:        freebsd-questions@freebsd.org, Peter Steele <psteele@maxiscale.com>
Subject:   Re: How to auto-detect a USB drive?
Message-ID:  <20090311182051.GD67007@slackbox.xs4all.nl>
In-Reply-To: <200903111809.25108.jmc-freebsd2@milibyte.co.uk>
References:  <20138265.681236784246466.JavaMail.HALO$@halo> <200903111809.25108.jmc-freebsd2@milibyte.co.uk>

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

--u65IjBhB3TIa72Vp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 11, 2009 at 06:09:24PM +0000, Mike Clarke wrote:
<snip>=20
> The scripts are a bit primitive and get totally confused if I insert=20
> more than one USB storage device at a time so would need some=20
> refinement for general use but work OK for me as the only user on this=20
> PC.

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/.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--u65IjBhB3TIa72Vp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkm4AQMACgkQEnfvsMMhpyX64gCdEe1Z7oYkyzbONznmDA2EPLJh
sMkAoKIYOKyLUl8Z1m65fIjgTGNSLMip
=iYk8
-----END PGP SIGNATURE-----

--u65IjBhB3TIa72Vp--



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