Permanent Device Nodes with udev
June 21st, 2007I recently converted from Arkeia (a horribly overpriced and buggy piece of software) to Bacula (a free, stable, higher performance alternative). At the same time I upgraded my backup server to Debian Etch and started having a problem where my tape library would alternatively show up as either /dev/sg0 or /dev/sg2 depending on what order things were powered up. Obviously that presents a problem if certain pieces of software expect your auto changer to located at a certain device node in /dev.
This can be fixed by making a custom udev rule…