Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 17:05:04 +0000
From:      Mike Bristow <mike@urgle.com>
To:        Rakhesh Sasidharan <rakhesh@rakhesh.com>, freebsd-questions@freebsd.org
Subject:   Re: Fixing a USB disk to a specific device name
Message-ID:  <20080121170504.GA73013@cheddar.urgle.com>
In-Reply-To: <20080121165551.GB50246@slackbox.xs4all.nl>
References:  <20080120161831.L62033@obelix.home.rakhesh.com> <20080120142042.GA8576@slackbox.xs4all.nl> <20080121085409.T1673@obelix.home.rakhesh.com> <20080121165551.GB50246@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<yourlabel>
> 
> 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 




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