> This would allow to run cryptsetup without having to mess > around with dmesg and /proc/partitions to find the next > device name of the encrypted USB stick. Write a udev rule to give it a unique name, like /dev/usb/stick.
AFAICS this would rely too much upon information local to each Linux box. The requirement would be to store the symbolic name for the encrypted(!) file system on the device itself. Symbolic name and passphrase belong together. If the name changes with each PC the USB stick is plugged into, then there is no real advantage over using something like "/dev/sdb3". Regards Harri --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx