[PLUG-TALK] Netbook computer disassembly

Rich Shepard rshepard at appl-ecosys.com
Thu Nov 24 13:47:27 UTC 2016


On Wed, 23 Nov 2016, Galen Seitz wrote:

> Rereading this, I realize using M as a variable wasn't the best
> choice, as it can be confused with dd's megabyte suffix.
>
> N = number of 512 byte sectors (a very large number)
> SEEK_SIZE = N - (5 x 2048) = N - 10240
> dd if=/dev/zero of=/dev/destination_disk seek=SEEK_SIZE bs=1b count=10240
>
> where bs=1b is a block size of 512 bytes, and count is the
> number of 512 byte blocks to write with zeroes.

galen,

   Thank you.

Rich



More information about the PLUG-talk mailing list