diskscan(1M)
NAME
diskscan − perform surface analysis
SYNOPSIS
diskscan [ −W ] [ −n ] [ −y ] raw_device
DESCRIPTION
diskscan is used by the system administrator to perform surface analysis on a portion of a hard disk. The disk portion may be a raw partition or slice; it is identified using its raw device name. By default, the specified portion of the disk is read (non-destructive) and errors reported on standard error. In addition, a progress report is printed on standard out. The list of bad blocks should be saved in a file and later fed into addbadsec(1M), which will remap them.
−W Causes diskscan to perform write and read surface analysis. This type of surface analysis is destructive and should be invoked with caution.
−n Causes diskscan to suppress linefeeds when printing progress information on standard out.
−y Causes diskscan to suppress the warning regarding destruction of existing data that is issued when −W is used.
FILES
The raw device should be /dev/rdsk/c?t?d?[ps]?.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Architecture | x86 |
| Availability | SUNWcsu |
SEE ALSO
fdisk(1M), fmthard(1M), addbadsec(1M), attributes(5)
SunOS 5.6 — Last change: 31 May 1993