[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Howto change names of /dev/sg?



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


Reply to: