boredzo / apmtool

Apple Partition Map helper tool
0 stars 0 forks source link

New command: overwrite-partition #3

Open boredzo opened 7 months ago

boredzo commented 7 months ago

populate partition-number file-path overwrites the contents of some partition with the contents of some file (if the partition's size is greater than or equal to the length of that file).

In particular, you could use this to create a partition map with pdisk, with full control over the extents of the partitions, and then fill the contents of each partition more easily than with dd.

boredzo commented 7 months ago

Hmm. Maybe just call it overwrite to make clear that it will clobber anything already there.