From owner-freebsd-questions@FreeBSD.ORG Sat Jul 21 12:24:52 2007 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D2AE16A41B for ; Sat, 21 Jul 2007 12:24:52 +0000 (UTC) (envelope-from tbaker@commandfinancial.com) Received: from cfpf28.commandfinancial.com (mail.commandfinancial.com [69.64.200.231]) by mx1.freebsd.org (Postfix) with ESMTP id 4057113C45B for ; Sat, 21 Jul 2007 12:24:52 +0000 (UTC) (envelope-from tbaker@commandfinancial.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----_=_NextPart_001_01C7CB90.728C1D76" Date: Sat, 21 Jul 2007 08:12:46 -0400 Message-ID: <3B46D029C27D7B44811CEB84AD02DDA6010D4A00@CFPF28.commandfinancial.com> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: USB dev lock Thread-Index: AcfLkH7YesKlnnCQT/q4bg9t3G3Frw== From: "Tim Baker" To: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: USB dev lock X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2007 12:24:52 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C7CB90.728C1D76 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 I have a PC running FreeBSD 6.1. We use a 1GB USB key to transfer files from our desktop PC's to this purposed machine. Problem is, when inserting the key, it may or may not select the same device name. For ease of use, and too many newbies that don't want to learn, I'd like the device to show as the same name every time I mount it. I have added /dev/da0 with a mountpoint of /flash in the /etc/fstab, but don't want to deal with adding additional lines and=20 mountpoints either. I'd like the command mount /flash to work with any one of the 10 1GB keys I purchased. As it stands, I'm called in emergency that mount /flash doesn't work and further investigation, ls /dev, begets da0s1 has been discovered/mounted. =20 Is there a way I can add a line of code to a system file that reserves a device name, like da0:, to a mountpoint, like /flash? =20 Tim Baker System Engineer Command Financial Press 75 Varick Street New York, N.Y. 10013 =20 Email: tbaker@commandfinancial.com Phone: 1(646)722-7885 =20 ------_=_NextPart_001_01C7CB90.728C1D76--