xref: /original-bsd/sbin/scsiformat/scsiformat.8 (revision c3e32dec)
1.\" Copyright (c) 1993 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"	@(#)scsiformat.8	5.1 (Berkeley) 06/05/93
7.\"
8.Dd
9.Dt SCSIFORMAT 8
10.Os BSD 4
11.Sh NAME
12.Nm scsiformat
13.Nd format SCSI disks and show SCSI parameters
14.Sh SYNOPSIS
15.Nm scsiformat
16.Op Fl r
17.Op Fl p Ar page-control
18.Ar raw-device-name
19.Sh DESCRIPTION
20The
21.Nm scsiformat
22utility can be used to format SCSI disks
23on systems that support on-line SCSI formatting
24(currently this is limited to the HP300 and SPARC ports).
25It will also show the various parameters set in the SCSI controller.
26.Pp
27The options are as follows:
28.Bl -tag -width indent
29.It Fl p
30Modify how the SCSI mode sense page query is constructed.
31By default,
32.Nm scsiformat
33asks for the current settings.
34The page-control flag is one of:
35.sp
36.Bl -tag -width XXX -compact
37.It Li c
38gets current settings.
39.It Li d
40gets default settings (those provided by the disk's manufacturer).
41.It Li s
42gets saved settings (those that persist across power cycles).
43.It Li v
44shows which parameters are variable.
45.El
46.It Fl r
47Don't format, instead display the disk parameters.
48.El
49.Sh DIAGNOSTICS
50These should mostly be self-explanatory.
51A copy of the SCSI standard (or a more readable derivative)
52may be useful, however.
53.Sh HISTORY
54The
55.Nm scsiformat
56utility first appeared in 4.4BSD.
57