News for hackers. Stuff that matters.
Re:1Password Travel Mode: Protect your data when crossing bo... by lloeki on Wednesday May 24, 2017 @05:53AM (#14408784)
What about dumping the partition table before simply removing the partition that matters? Just restore the partition table later. You could even grow the remaining partition without growing the actual filesystem, and hack something so that the FS layer reports the whole size. Or have both GPT and MBR that differ, offering two different views of the disk. If you're using lvm or btrfs you could also make a snapshot before removing all data then revert to the snapshot, and/or apply clever subvolume tricks like btrfs-convert does to keep the ext filesystem around [0].

[0]: https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3

There are no comments on this comment yet.