Re: encrypted swap on loop in 2.4.10-pre12?

Jari Ruusu (jari.ruusu@pp.inet.fi)
Thu, 20 Sep 2001 20:55:11 +0300


"steve j. kondik" wrote:
> hmm? both cryptoapi and loop-aes work just fine when encrypting
> anything but swap. this is _only_ with kernel 2.4.10-pre12. i would
> suspect something changed that breaks swap on loopdev in general in this
> kernel.

loop-AES encrypted swap works just fine on 2.4.10-pre12, see:

# uname -a
Linux debian 2.4.10-pre12 #1 Thu Sep 20 20:15:08 EEST 2001 i686 unknown
# vmstat
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
0 0 1 4708 2708 1824 12856 19 28 682 623 223 119 5 74 21
# swapon -s
Filename Type Size Used Priority
/dev/loop6 partition 191512 4704 -1
# losetup /dev/loop6
/dev/loop6: [0301]:170184 (/dev/hda2) offset 0, AES encryption

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/