Every now and then I run into this.
Trying to zero out the last few block of a disk to clear out any information or marker that might have been stored there.
where the number to skip is a little less than what is shown for the total number of blocks for that particular drive.
However, this takes annoyingly long, even for a 200 GB drive, as dd seems to start walking through every single block from disk-start to whatever I said to skip, instead of jumping there. So zeroing the last few block this way is not faster than zeroing the entire disk.
Could anybody suggest a better way to zero out the last blocks of a disk?
Trying to zero out the last few block of a disk to clear out any information or marker that might have been stored there.
dd if=/dev/zero of=/dev/ada0 skip=....
where the number to skip is a little less than what is shown for the total number of blocks for that particular drive.
However, this takes annoyingly long, even for a 200 GB drive, as dd seems to start walking through every single block from disk-start to whatever I said to skip, instead of jumping there. So zeroing the last few block this way is not faster than zeroing the entire disk.
Could anybody suggest a better way to zero out the last blocks of a disk?