Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zeero(8) [osf1 man page]

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)

Check Out this Related Man Page

fddisk(8)						      System Manager's Manual							 fddisk(8)

NAME
fddisk - FDI disk maintenance utility SYNOPSIS
/sbin/fddisk options special OPTIONS
Unless this option is specified, an attempt to format or to install a file system fails in two cases. The first failure occurs when the device has been opened since the media was inserted. The second failure occurs if the device is currently opened by another process. For- mats the media to the density appropriate for that media. Copies a hex dump of sector number PSN to stdout. Uses the interleave factor nnn for formatting. If specified, ccc indicates an additional intercylinder interleave. Copies a packed-C hex dump of the entire disk to stdout. Specifies silent mode. This option blocks informational messages from appearing on stderr. Reads the entire media. The command fails if the utility finds a bad sector. Waits for media to be inserted into the drive if none is present. Waits for new media to be inserted into the drive if none is present or if the current media has been opened since it was last inserted. Reads the disk and reports on the format of the disk. OPERANDS
Specifies an unmounted, raw device pathname. This device must be an FDI interface (fd). DESCRIPTION
The fddisk utility, an FDI (integrated Floppy Disk Interface) disk maintenance program, can format a floppy disk, scan a floppy disk for bad blocks, and read and write selected blocks. It can be used in shell scripts for checking the status of floppy disks. Such status checks include checking for or waiting for the presence of media, and checking for or waiting for the user to change the media. RESTRICTIONS
The fddisk utility has the following restrictions: You must have read/write access to the device. The device must not be mounted. The program can only be used with a 3.5-inch floppy disk in the RX26 drive. In some cases, it might not be possible to format a floppy disk at a higher density than it is already formatted. If this situation occurs, the floppy disk must be bulk erased before it can be reformatted at a higher density. EXAMPLES
This example formats a floppy disk in drive zero: # /sbin/fddisk -fmt /dev/rdisk/floppy0a This example formats a floppy disk in drive zero when the disk has been read or written since it was inserted into the drive: # /sbin/fddisk -fmt -f /dev/rdisk/floppy0a SEE ALSO
Commands: mount(8), restore(8), uerf(8) Files: fd(7) fddisk(8)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies