From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 17:05:12 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 0940E16A421 for ; Mon, 21 Jan 2008 17:05:12 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mx1.freebsd.org (Postfix) with ESMTP id BDEA513C45D for ; Mon, 21 Jan 2008 17:05:11 +0000 (UTC) (envelope-from mike@urgle.com) Received: from cheddar.urgle.com ([80.177.40.53]) by anchor-post-31.mail.demon.net with esmtp (Exim 4.67) id 1JH055-0008C3-3k; Mon, 21 Jan 2008 17:05:08 +0000 Received: from mike by cheddar.urgle.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JH052-000J1l-5I; Mon, 21 Jan 2008 17:05:04 +0000 Date: Mon, 21 Jan 2008 17:05:04 +0000 From: Mike Bristow To: Rakhesh Sasidharan , freebsd-questions@freebsd.org Message-ID: <20080121170504.GA73013@cheddar.urgle.com> References: <20080120161831.L62033@obelix.home.rakhesh.com> <20080120142042.GA8576@slackbox.xs4all.nl> <20080121085409.T1673@obelix.home.rakhesh.com> <20080121165551.GB50246@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080121165551.GB50246@slackbox.xs4all.nl> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: 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: Mon, 21 Jan 2008 17:05:12 -0000 On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > > >> It is possible, but not as daX. Use the glabel(8) utility to label your > >> disks. They will show up as /dev/label/ > > On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC > kernel, so it shouldn't be necessary there. Note that you can use UFS (and other filesystems labeling) too: for example. 'newfs -L bobs_disk' will cause the device containing it to appear as /dev/ufs/bobs_disk. This approach may be better for removable disks; it'll play better with other OSs, for example. -- Shenanigans! Shenanigans! Best of 3! -- Flash