Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 13:02:05 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Raimund Sacherer <raimund.sacherer@logitravel.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: how to assure that a certain device (e.g. /dev/pass1) always is /dev/pass1 on subsequent reboots?
Message-ID:  <20150827130205.455b4330.freebsd@edvax.de>
In-Reply-To: <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com>
References:  <1032086371.8518394.1440671626012.JavaMail.zimbra@logitravel.com> <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Aug 2015 12:38:27 +0200 (CEST), Raimund Sacherer wrote:
> Hello, 
> 
> I need to make sure that certain devices always have their
> corresponding device names (like /dev/pass1) assigned. I need
> this for auto changers in our backup server (but not only there). 
> 
> I have vastly more linux knowledge and there you can for
> example create udev rules which rename the device to what you
> need. What is the equivalent way on FreeBSD? Loader hints? 

Yes. The file in question is /boot/device.hints. See
"man 5 device.hints" for details. You should be able
to "hard-wire" the device number with the physical device
characteristica (address, irq and so on).

https://www.freebsd.org/doc/handbook/device-hints.html


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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