Index Index for
Section 8
Index Alphabetical
listing for Z
Bottom of page Bottom of
page

zeero(8)

NAME

zeero - Zero out disks prior to rewrite.

SYNOPSIS

/usr/lbin/zeero [-d] [-f] device

OPTIONS

-d 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. -f 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

1. In the following example, the zeero command is used to overwrite partition a with zeros. /usr/lbin/zeero /dev/rdisk/dsk1a 2. In the following example, the zeero command is used to overwrite the entire disk with zeros. /usr/lbin/zeero /dev/rdisk/dsk0c

FILES

/usr/lbin/zeero

Index Index for
Section 8
Index Alphabetical
listing for Z
Top of page Top of
page