summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/diskscan.1m
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2011-03-14 14:05:30 -0400
committerRichard Lowe <richlowe@richlowe.net>2011-03-14 14:05:30 -0400
commitc10c16dec587a0662068f6e2991c29ed3a9db943 (patch)
treef414286f4bba41d75683ed4fbbaa6bfa4bf7fabd /usr/src/man/man1m/diskscan.1m
parent68caef18a23a498d9e3017b983562c0f4fd8ab23 (diff)
downloadillumos-gate-c10c16dec587a0662068f6e2991c29ed3a9db943.tar.gz
243 system manual pages should live with the software
Reviewed by: garrett@nexenta.com Reviewed by: gwr@nexenta.com Reviewed by: trisk@opensolaris.org Approved by: gwr@nexenta.com --HG-- extra : rebase_source : 0c599d0bec0dc8865fbba67721a7a6cd6b1feefb
Diffstat (limited to 'usr/src/man/man1m/diskscan.1m')
-rw-r--r--usr/src/man/man1m/diskscan.1m115
1 files changed, 115 insertions, 0 deletions
diff --git a/usr/src/man/man1m/diskscan.1m b/usr/src/man/man1m/diskscan.1m
new file mode 100644
index 0000000000..045f4dacc9
--- /dev/null
+++ b/usr/src/man/man1m/diskscan.1m
@@ -0,0 +1,115 @@
+'\" te
+.\" Copyright (c) 1998, Sun Microsystems, Inc. All Rights Reserved
+.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
+.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
+.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
+.TH diskscan 1M "24 Feb 1998" "SunOS 5.11" "System Administration Commands"
+.SH NAME
+diskscan \- perform surface analysis
+.SH SYNOPSIS
+.LP
+.nf
+\fBdiskscan\fR [\fB-W\fR] [\fB-n\fR] [\fB-y\fR] \fIraw_device\fR
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+\fBdiskscan\fR 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 \fBaddbadsec\fR(1M), which will
+remap them.
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-n\fR\fR
+.ad
+.RS 6n
+.rt
+Causes \fBdiskscan\fR to suppress linefeeds when printing progress information
+on standard out.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-W\fR\fR
+.ad
+.RS 6n
+.rt
+Causes \fBdiskscan\fR to perform write and read surface analysis. This type of
+surface analysis is destructive and should be invoked with caution.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-y\fR\fR
+.ad
+.RS 6n
+.rt
+Causes \fBdiskscan\fR to suppress the warning regarding destruction of
+existing data that is issued when \fB-W\fR is used.
+.RE
+
+.SH OPERANDS
+.sp
+.LP
+The following operands are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fIraw_device\fR\fR
+.ad
+.RS 14n
+.rt
+The address of the disk drive (see \fBFILES\fR).
+.RE
+
+.SH FILES
+.sp
+.LP
+The raw device should be \fB/dev/rdsk/c?[t?]d?[ps]?\fR. See \fBdisks\fR(1M) for
+an explanation of \fBSCSI\fR and \fBIDE\fR device naming conventions.
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i)
+lw(2.75i) |lw(2.75i)
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Architecturex86
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBaddbadsec\fR(1M), \fBdisks\fR(1M), \fBfdisk\fR(1M), \fBfmthard\fR(1M),
+\fBformat\fR(1M), \fBattributes\fR(5)
+.SH NOTES
+.sp
+.LP
+The \fBformat\fR(1M) utility is available to format, label, analyze, and repair
+\fBSCSI\fR disks. This utility is included with the \fBdiskscan\fR,
+\fBaddbadsec\fR(1M), \fBfdisk\fR(1M), and \fBfmthard\fR(1M) commands available
+for x86. To format an \fBIDE\fR disk, use the \fB DOS\fR \fBformat\fR utility;
+however, to label, analyze, or repair \fBIDE\fR disks on x86 systems, use the
+Solaris \fBformat\fR(1M) utility.