Делаю man losetup
Потом делаю:
dd if=/dev/zero of=/tmp/file bs=1k count=100
modprobe des
losetup -e des /dev/loop0 /tmp/file
losetup предлагает ввести пароль, ввожу "ss", он отвечает:
ioctl: LOOP_SET_STATUS: Invalid argument
Что я делаю не так ?
Ядро 2.4.27.
Вот параметры сборки ядра (секция Cryptographic options):
[*] Cryptographic API
[*] HMAC support
<M> NULL algorithms
<M> MD4 digest algorithm
<M> MD5 digest algorithm
<M> SHA1 digest algorithm
<M> SHA256 digest algorithm
<M> SHA384 and SHA512 digest algorithms
<M> DES and Triple DES EDE cipher algorithms
<M> Blowfish cipher algorithm
<M> Twofish cipher algorithm
<M> Serpent cipher algorithm
<M> AES cipher algorithms
<M> CAST5 (CAST-128) cipher algorithm
<M> CAST6 (CAST-256) cipher algorithm
<M> TEA and XTEA cipher algorithms
<M> ARC4 cipher algorithm
<M> Deflate compression algorithm
<M> Michael MIC keyed digest algorithm
<M> Testing module