Fixing a USB disk to a specific device name

Rakhesh Sasidharan rakhesh at rakhesh.com
Sun Jan 20 04:52:38 PST 2008


Hi,

Is it possible to assign a specific device name to a USB disk? As in, say 
I have 2 USB disks -- currently they appear as da0 and da1. One of these 
(da0) contains the key for a GELI encrypted partition, and so I mount it 
from fstab while booting (to get the key).

What I'd like to know is whether there's any way for me to ensure that the 
da0 disk always appears as da0. I don't want it that tomm I plug in 
another disk (or change the order of disks, though I'll be more careful 
with that) and suddenly da0 is no longer at da0! That would hamper the 
boot process ... not nice.

Possible?

Thanks,


 				- Rakhesh
                                 http://rakhesh.net/


More information about the freebsd-questions mailing list