Simon Brandmair
2011-07-18 20:02:49 UTC
Hello,
I would like to change the device names of the /dev/sg? devices.
/dev/sg0 is my hard drive, /dev/sg1 my cdrom drive. I would like them to
be /dev/sg1 and /dev/sg2.
If I understand it right, these names aren't given by udev, but by the
kernel, so a udev rule doesn't work.
Background: I have an encrypted usb stick (SafeStick), that - strangely
- requires to be /dev/sg0 in order to get decrypted.
Any ideas?
Simon
I would like to change the device names of the /dev/sg? devices.
/dev/sg0 is my hard drive, /dev/sg1 my cdrom drive. I would like them to
be /dev/sg1 and /dev/sg2.
If I understand it right, these names aren't given by udev, but by the
kernel, so a udev rule doesn't work.
Background: I have an encrypted usb stick (SafeStick), that - strangely
- requires to be /dev/sg0 in order to get decrypted.
Any ideas?
Simon