File: documentation-superformat_print_drive_deviation.patch

package info (click to toggle)
fdutils 5.5-20060227-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,472 kB
  • ctags: 1,142
  • sloc: ansic: 6,291; sh: 3,082; makefile: 251; sed: 4
file content (33 lines) | stat: -rw-r--r-- 1,095 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Subject: Document --print-drive-deviation in superformat(1)
Author: Matteo Cypriani <mcy@lm7.fr>
Bug-Debian: http://bugs.debian.org/331491
Bug-Debian: http://bugs.debian.org/331489
Last-Update: 2010-10-07
--- a/doc/superformat.1
+++ b/doc/superformat.1
@@ -165,6 +165,11 @@
 .TQ
 \&\fR\&\f(CW\-\-noverify\fR
 Skips the verification altogether.
+.TP
+\&\fR\&\f(CW\-\-print\-drive\-deviation\fR\ 
+Does not format, but prints the drive deviation. If file /etc/driveprm
+exists and provides a deviation for the drive, nothing is printed and
+the disk is not formatted.
 .PP
 .SH Advanced\ Options
 Usually, superformat uses sensible default values for these options,
--- a/doc/superformat.texi
+++ b/doc/superformat.texi
@@ -100,6 +100,11 @@
 @itemx --noverify
 Skips the verification altogether.
 
+@item --print-drive-deviation
+Do not format, but print the drive deviation. If file
+@file{/etc/driveprm} exists and provides a deviation for the drive,
+nothing is printed and the disk is not formatted.
+
 @end table
 
 @node Advanced options, Sector skewing options, Common options, superformat