ddarch is a simple helper tool that wraps dd, fdisk, parted along with other utilities to easily create, preserve and restore disk images.
When sparse files are not in play, dd leaves you with an image equal in size to the size of the input media. Such an image may contain empty spaces, unpartitioned volumes, and be cumbersome to compress and store. Restoring an image to a device of a different size may also require appropriate modifications to the image (partition resizing, trimming) or the device itself after the restore (enlarging the last partition). This tool was created to make these steps a little easier.
See https://github.com/chodak166/ddarch to learn more.
Features
- creating a disk image with dd
- truncating unpartitioned space at the end of an image
- resizing the last partition
- filling free spaces with zeros for more efficient compression
- compressing images (7z, zip, tgz)
- maintaining GUID Partition Table (GPT) integrity
- restoring images with on-the-fly decompression (using pipes)
- expanding the last partition after restore
- checking file systems after restore (by running fsck)
- making functions available for use in other scripts (sourcing)
Follow ddarch
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ddarch!