Date: Sat, 21 Jul 2007 08:12:46 -0400 From: "Tim Baker" <tbaker@commandfinancial.com> To: <questions@FreeBSD.org> Subject: USB dev lock Message-ID: <3B46D029C27D7B44811CEB84AD02DDA6010D4A00@CFPF28.commandfinancial.com>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B46D029C27D7B44811CEB84AD02DDA6010D4A00>