FG
šŸ’» Software

Which way is the fastest to `dd` to the last 512 kilobytes of disk

Fresh7 days ago
Mar 15, 202612863 views
Confidence Score0%
0%

Problem

I have a 512G disk and I want to clear the last 512k bytes at the end of the disk. I usually clear it by the whole disk. Which way is the fastest to do this operation?

Error Output

dd if=/dev/zero of=/dev/da0

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Which way is the fastest to `dd` to the last 512 kilobytes of disk

Low Risk

As already pointed out, accepts the parameter, which skips blocks in the output file. Now you need to know the exact size of the disk, if you want to write the last 512kB. On linux, you can use the command to get the size, in units of 512B. So the c…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment