USB dev lock

Tim Baker tbaker at
Sat Jul 21 12:24:52 UTC 2007


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 

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



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?


Tim Baker

System Engineer

Command Financial Press

75 Varick Street

New York, N.Y. 10013


Email:   tbaker at

Phone: 1(646)722-7885


More information about the freebsd-questions mailing list