As you can see, the partclone tool let me clone the real blocks used on the disk
part into an IMG file which can be used to restore to another disk partition later.
I want to know if I can use dd to achieve the same purpose.
On Fri, 20 Aug 2021 08:22:11 -0400, hongy...@gmail.com <hongy...@gmail.com> wrote:
As you can see, the partclone tool let me clone the real blocks used on the diskThe dd program does a device to device exact copy. It works with other files too,
part into an IMG file which can be used to restore to another disk partition later.
I want to know if I can use dd to achieve the same purpose.
making a byte for byte copy.
Adding the sparse option will reduce the output file space used, if the input file
has blocks that are entirely binary zero.
It will not copy just the blocks used by currently allocated files. Deleted files
that have not been overwritten will be copied too.
So it isn't the same as a partclone image, but can lead to similar results.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 443 |
Nodes: | 16 (2 / 14) |
Uptime: | 92:35:26 |
Calls: | 9,197 |
Calls today: | 3 |
Files: | 13,480 |
Messages: | 6,054,833 |