cryptsetup
Last modified on July 24, 2026 • 1 min read • 64 wordsI switched already quite a while ago from the old cryptoloop technology to the newer cryptsetup technology.
cryptsetup create cryptovolume /dev/mapper/logical_volumemount /dev/mapper/cryptovolume /mountpointIn this case I mapped a logical volume, but of course you can map physical volumes, too:cryptsetup create cryptovolume /dev/sdb1mount /dev/mapper/cryptovolume /mountpoint