09-23-2021, 09:19 PM
You can copy disks of different sizes. But know what you are doing. Copying a smaller disk to a larger one is no problem except that there will be unused space at the end. When copying large to small, only copy the length of the smaller one and know that it will be truncated (likely corrupt).
dd is like a dangerous weapon. It does exactly what you tell it to do, and there is no recourse when you make an error. I'm pretty sure we've all wiped out the root partition at least once. Always, always always read back the command you are about to issue and study it before pressing <RETURN>. This should apply to all Unix commands, but especially dd.
dd is like a dangerous weapon. It does exactly what you tell it to do, and there is no recourse when you make an error. I'm pretty sure we've all wiped out the root partition at least once. Always, always always read back the command you are about to issue and study it before pressing <RETURN>. This should apply to all Unix commands, but especially dd.
:wq
[ SRA accepts you ]
[ SRA accepts you ]