All honour goes to http://www.blaicher.com/2013/01/accessing-an-encrypted-full-disc-image-lukslvm/
So I typically use a full disc encryption with LVM over LUKS. So assume you have got an image from your harddisk via
dd if=/dev/sda of=image.img
# put this in your ~/.screenrc to make | |
# ^A D (uppercase) switch on, and | |
# ^A U (uppercase) switch off, converting | |
# CR (return keys) input into CRLF | |
bind D bindkey "\015" stuff "\015\012" | |
bind U bindkey "\015" stuff "\015" |
All honour goes to http://www.blaicher.com/2013/01/accessing-an-encrypted-full-disc-image-lukslvm/
So I typically use a full disc encryption with LVM over LUKS. So assume you have got an image from your harddisk via
dd if=/dev/sda of=image.img
To stage changes while ignoring whitespace (inspired by [1]): | |
git diff -w --no-color | (read in; [ -n "$in" ] && git apply --cached --ignore-whitespace) | |
[1]: https://til.hashrocket.com/posts/696df00135-remove-whitespace-changes-then-git-add-p |