On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
> 
>>> 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.
> 
> Just mentioning this for archival purposes.
> 
> If you are mounting a device as /dev/label/<yourlabel> at boot time, it 
> will fail unless you add a ''geom_label_load="YES"'' to your 
> /boot/loader.conf file. Had me stumped for a while. This loads the geom 
> label module at boot time and so labels are recognized.

On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
kernel, so it shouldn't be necessary there.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpLQR4Mu6Xk5.pgp
Description: PGP signature

Reply via email to