From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 1 22:09:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 840C016A4DA for ; Fri, 1 Sep 2006 22:09:08 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DCF443D45 for ; Fri, 1 Sep 2006 22:09:07 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [213.87.86.61] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1GJHCC-0005HJ-DT; Sat, 02 Sep 2006 02:09:05 +0400 Received: from localhost (localhost [127.0.0.1]) by fonon.realnet (Postfix) with ESMTP id 2DB6B11483; Sat, 2 Sep 2006 02:08:29 +0400 (MSD) Date: Sat, 2 Sep 2006 02:08:28 +0400 From: Stanislav Sedov To: freebsd-hackers@freebsd.org, george+freebsd@m5p.com Message-ID: <20060902020828.64223ee4@localhost> In-Reply-To: <200609012108.k81L8nKZ019777@m5p.com> References: <200609012108.k81L8nKZ019777@m5p.com> Organization: MBSD labs, Inc. X-Operating-System: FreeBSD X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_P2V5d18+Zbe6Z5GnlFVQBMh; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 Cc: Subject: Re: Wiring umass unit numbers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 22:09:08 -0000 --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. =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--