zeero(8) System Manager's Manual zeero(8)
NAME
zeero - Zero out disks prior to rewrite.
SYNOPSIS
/usr/lbin/zeero [-d] [-f] device
OPTIONS
Specifies diagnostic mode. Prints the total number of writes and the exit errno. An exit status of errno 28 indicates success; zeros were
written until the device ran out of space. Specifies silent mode. This option does not prompt for a response. If the -f option is not
used, the user is warned that all data will be erased from /dev/rdisk/dsk?? and asked for an affirmative response before continuing.
DESCRIPTION
The zeero command writes zeros throughout a disk partition including the disk label. You must be super user to use this command.
EXAMPLES
In the following example, the zeero command is used to overwrite partition a with zeros. /usr/lbin/zeero /dev/rdisk/dsk1a In the following
example, the zeero command is used to overwrite the entire disk with zeros. /usr/lbin/zeero /dev/rdisk/dsk0c
FILES
zeero(8)