Skip to content

Instantly share code, notes, and snippets.

@benelog
Created January 20, 2017 21:02
Show Gist options
  • Save benelog/c63725907b3e014f0b7fb8e3dc71955a to your computer and use it in GitHub Desktop.
Save benelog/c63725907b3e014f0b7fb8e3dc71955a to your computer and use it in GitHub Desktop.
tcplay
sudo tcplay -c -d /dev/loop0 -a whirlpool -b AES-256-XTS
sudo mkfs.ext4 /dev/mapper/source.tc
losetup /dev/loop0 source.tc
tcplay -m source.tc -d /dev/loop0
mount /dev/mapper/source.tc /mnt/source/
sudo mount -o nodev,nosuid,uid=1000,gid=1000 /dev/mapper/source.tc /home/benelog/enc/
losetup /dev/loop0 source.tc
tcplay -m source.tc -d /dev/loop0
mount -o nodev,nosuid,uid=1000,gid=1000 /dev/mapper/source.tc /home/benelog/enc/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment