Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

diskscan(8)

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.

Options

The following options are supported:

–n

Causes diskscan to suppress linefeeds when printing progress information on standard out.

–W

Causes diskscan to perform write and read surface analysis. This type of surface analysis is destructive and should be invoked with caution.

–y

Causes diskscan to suppress the warning regarding destruction of existing data that is issued when –W is used.

Operands

The following operands are supported:

raw_device

The address of the disk drive (see FILES).

Files

The raw device should be /dev/rdsk/c?[t?]d?[ps]?. See disks(8) for an explanation of SCSI and IDE device naming conventions.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Architecture
x86
Availability
system/core-os

See Also

attributes(7), disks(8), fdisk(8), fmthard(8), format(8)

Notes

The format(8) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the diskscan, fdisk(8), and fmthard(8) commands available for x86. To format an IDE disk, use the DOS format utility; however, to label, analyze, or repair IDE disks on x86 systems, use the Solaris format(8) utility.