Cryptswap and Linux assigning different devices letters to disk

I had this weird issue recently: I had a simple Ubuntu setup with cryptesetup and swap, and the crypt swap device (say /dev/mapper/mycryptoswap1) keept disappearing. Caution: fiddling with cryptsetup and disk devices is dangerous for data and OS. I personally made a full backup on a separate disk and then umplugged it to be sure […]

A quick and dirty udevadm script

This script (very dirty) was handful to me to discover some parameters (e.g KERNELS) to differentiate on udev/rules.d rules similar devices on a physical usb port basis. It’s relased under the GNU General Public License and with no guaranties. Please read the Disclaimer. It needs of course udevadm and less. Syntax is: showdevicedetails.sh #!/bin/bash # […]