
NAME

  dkt erase-disk - Generate data stream to overwrite a hard disk

SYNOPSIS

  dkt erase-disk [<options>]

DESCRIPTION

The program creates a data stream which can be used as input to "dd" to
overwrite an entire disk.
A pass number can be specified to choose a byte value written to the disk:

Pass	Byte
  0	0x00
  1	0xFF
  2	0x0F
  3	0xF0
  4	0x33
  5	0xCC
  6	0x55
  7	0xAA

Use pass numbers from 7 ... 0 to set and reset each bit several times.
For normal usage scenarios one pass using pass number 0 should be sufficient.

OPTIONS

-p pass
	chooses the pass number.

-b size
	specifies the block size (default: 512).

-n number
	specifies the number of blocks (default: 0 for an "endless" sequence).

RETURN VALUE

The program returns 0 on success, any other value indicates an error.


AUTHOR

Dirk Krause

HISTORY

The "dkt erase-disk" function replaces the edbp program from previous
dktools versions.

