Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 21:20:26 +0400 (GST)
From:      Rakhesh Sasidharan <rakhesh@rakhesh.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Fixing a USB disk to a specific device name
Message-ID:  <20080120211904.D91357@dogmatix.home.rakhesh.com>
In-Reply-To: <20080120142042.GA8576@slackbox.xs4all.nl>
References:  <20080120161831.L62033@obelix.home.rakhesh.com> <20080120142042.GA8576@slackbox.xs4all.nl>

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

>> 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.
>
> It is possible, but not as daX. Use the glabel(8) utility to label your
> disks. They will show up as /dev/label/<yourlabel>
>
> The daX devices are created as the device is plugged in, so AFAIK it's
> impossible to permanently assign them a certain daX device.

Awesome! That should do. :)

I spent the better half of my day here searching the net for a possible 
solution! If only I had asked this list first ...

Thanks,

 				- Rakhesh
                                 http://rakhesh.net/



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