how to assure that a certain device (e.g. /dev/pass1) always is /dev/pass1 on subsequent reboots?
Polytropon
freebsd at edvax.de
Thu Aug 27 11:02:14 UTC 2015
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, ...
More information about the freebsd-questions
mailing list