aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_format.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2009-03-27 21:52:55 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2009-03-27 21:52:55 +0000
commite336578aba35c0abedec82b58d3cc6500a6c8213 (patch)
tree2d6e49c773ed99efc2e93ac14b230addbf868715 /doc/sg_format.8
parent472a0b70b91b12c52e18d9ad1d9d59a1be95a763 (diff)
downloadsg3_utils-e336578aba35c0abedec82b58d3cc6500a6c8213.tar.gz
add protection type format example
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@237 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_format.8')
-rw-r--r--doc/sg_format.86
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/sg_format.8 b/doc/sg_format.8
index 40625fb2..57a737ed 100644
--- a/doc/sg_format.8
+++ b/doc/sg_format.8
@@ -170,7 +170,7 @@ Has no action unless \fI\-\-format\fR is given.
\fB\-q\fR, \fB\-\-pie\fR=\fIPIE\fR
sets the "Protection Interval Exponent" field in the parameter block
associated with a FORMAT UNIT command to \fIPIE\fR. The default value is 0.
-This field first appeared in SBC\-3 revison 18. Has no action unless
+This field first appeared in SBC\-3 revision 18. Has no action unless
\fI\-\-format\fR is given.
.TP
\fB\-r\fR, \fB\-\-resize\fR
@@ -359,6 +359,10 @@ Now resize the disk back to its normal (maximum) block count:
.PP
sg_format \-\-resize \-\-count=\-1 /dev/sdm
.PP
+Format with type 1 protection:
+.PP
+ sg_format \-\-format \-\-fmtpinfo=3 \-\-pfu /dev/sdm
+.PP
.SH EXIT STATUS
The exit status of sg_format is 0 when it is successful. Otherwise see
the sg3_utils(8) man page. Unless the \fI\-\-wait\fR option is given, the