Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Sep 2006 02:08:28 +0400
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        freebsd-hackers@freebsd.org, george+freebsd@m5p.com
Subject:   Re: Wiring umass unit numbers
Message-ID:  <20060902020828.64223ee4@localhost>
In-Reply-To: <200609012108.k81L8nKZ019777@m5p.com>
References:  <200609012108.k81L8nKZ019777@m5p.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_P2V5d18+Zbe6Z5GnlFVQBMh
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

On Fri, 1 Sep 2006 14:08:49 -0700 (PDT)
george+freebsd@m5p.com mentioned:

> I have a USB floppy drive and a USB flash card reader/writer.  At
> various times, neither, one, or both devices are plugged into the
> computer.  Depending upon when each is plugged in, the floppy
> drive might become /dev/da0 and the flash reader/writer /dev/da1,
> or vice versa.  Is there a way to specify which should be which?

AFAIK, no, but if you just need to have constant device names, you
can use labels provided by glabel(8), e.g. if you issue
# glabel label -v MYFLASH /dev/da0 when da0 is flash, you'll
always have /dev/label/MYFLASH entry whenever you flash is
plugged.

Unfortunately, this technique can't be used with floppy, for
glabel information is stored on the media itself, that is you
need to label every floppy separately.

Hope that helps.

--=20
Stanislav Sedov         MBSD labs, Inc.         <ssedov@mbsd.msk.ru>
=F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1         http://mbsd.msk.ru

--------------------------------------------------------------------
If the facts don't fit the theory, change the facts.  -- A. Einstein
--------------------------------------------------------------------
PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581

--Sig_P2V5d18+Zbe6Z5GnlFVQBMh
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFE+K9cK/VZk+smlYERAjDzAJ9BkxTIbd6pHJPBVCoZtD1zuN4lWACbBh1Q
TYgHh+Hkg204uA4g6o89kBs=
=fOHD
-----END PGP SIGNATURE-----

--Sig_P2V5d18+Zbe6Z5GnlFVQBMh--



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