Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 16:23:58 +0400 (GST)
From:      Rakhesh Sasidharan <rakhesh@rakhesh.com>
To:        freebsd-questions@freebsd.org
Subject:   Fixing a USB disk to a specific device name
Message-ID:  <20080120161831.L62033@obelix.home.rakhesh.com>

next in thread | raw e-mail | index | archive | help

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080120161831.L62033>