From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 12:52:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF8E016A420 for ; Sun, 20 Jan 2008 12:52:37 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id B2A7013C467 for ; Sun, 20 Jan 2008 12:52:37 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: by an-out-0708.google.com with SMTP id c14so416391anc.13 for ; Sun, 20 Jan 2008 04:52:36 -0800 (PST) Received: by 10.100.171.10 with SMTP id t10mr12032059ane.58.1200831847297; Sun, 20 Jan 2008 04:24:07 -0800 (PST) Received: from smtp.home.rakhesh.com ( [82.178.102.129]) by mx.google.com with ESMTPS id x55sm5513826hsx.13.2008.01.20.04.24.04 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Jan 2008 04:24:06 -0800 (PST) Received: from obelix (obelix [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 30BF01140C for ; Sun, 20 Jan 2008 16:23:58 +0400 (GST) Date: Sun, 20 Jan 2008 16:23:58 +0400 (GST) X-X-Sender: rakhesh@obelix.home.rakhesh.com To: freebsd-questions@freebsd.org Message-ID: <20080120161831.L62033@obelix.home.rakhesh.com> X-Blog: http://rakhesh.com/ X-Notes: http://rakhesh.net/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Subject: Fixing a USB disk to a specific device name 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: Sun, 20 Jan 2008 12:52:38 -0000 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/