Wiring umass unit numbers
Stanislav Sedov
ssedov at mbsd.msk.ru
Fri Sep 1 15:09:08 PDT 2006
On Fri, 1 Sep 2006 14:08:49 -0700 (PDT)
george+freebsd at 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.
--
Stanislav Sedov MBSD labs, Inc. <ssedov at mbsd.msk.ru>
Россия, Москва 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060901/79ae5e39/signature.pgp
More information about the freebsd-hackers
mailing list