Skip to contentSkip to conversation

loop under 2.2.20 - relative block support?

DISCUSSION [email protected] 2 participants 2 messages Feb 25, 2002

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Jari Ruusu
Quoted 3 lines · [email protected] wrote:

What exactly is the status of the loopback device in 2.2.20 with regards to relative block support? Is it *really* supported?

Kerneli patches use block size dependant IV computation (also called "time bomb" IV). Shit hits the fan when you move files to a device with different block size. Search linux-crypto archives for more information.

Aha. So if I moved the loopback file onto a partition with the same blocksize again, it would all be fine?

mailerror

Hush provide the worlds most secure, easy to use online applications - which solution is right for you? HushMail Secure Email http://www.hushmail.com/
HushDrive Secure Online Storage http://www.hushmail.com/hushdrive/
Hush Business - security for your Business http://www.hush.com/
Hush Enterprise - Secure Solutions for your Enterprise http://www.hush.com/

-----BEGIN PGP SIGNATURE-----
Version: Hush 2.1
Note: This signature can be verified at https://www.hushtools.com

wl4EARECAB4FAjx6YkwXHG1haWxlcnJvckBodXNobWFpbC5jb20ACgkQb539PwJB5JOc YACdHtDNGubq9SaNZYV/KaInmQMpJf8AoJEIc/weLqdnL3HhhyTpRRTJgqV9 =iQaH
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 7 lines · [email protected] wrote:
Quoted 3 lines · Jari Ruusu

Kerneli patches use block size dependant IV computation (also called "time bomb" IV). Shit hits the fan when you move files to a device with different block size. Search linux-crypto archives for more information.

Aha. So if I moved the loopback file onto a partition with the same blocksize again, it would all be fine?

If you can move original (unmodified) loop file to same block size, same kernel version, then yes. If you mounted it rw, then your "time bomb" exploded on your face.

Regards,
Jari Ruusu <[email protected]>