Block-device encryption without reinstallation
Block-device encryption without reinstallation
Posted Sep 30, 2025 22:34 UTC (Tue) by berto (subscriber, #58604)In reply to: Block-device encryption without reinstallation by muase
Parent article: Managing encrypted filesystems with dirlock
Indeed, with detached headers it should be possible.
I'm not familiar with the internals of the device mapper but I can imagine that this would need changes in dm-crypt: you would need to have a device that is only encrypted up to a certain offset, and that offset would change in real time while the device is being used.
