zeero - Zero out disks prior to rewrite.
/usr/lbin/zeero [-d] [-f] device
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.
The zeero command writes zeros throughout a disk partition
including the disk label. You must be super user to use
this command.
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
zeero(8)
[ Back ] |