components/smartmontools/patches/add-man-page-warning.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 19 Apr 2017 14:10:37 -0700
changeset 7917 39eb760cd391
permissions -rw-r--r--
PSARC 2017/013 smartmontools - version 6.5 18324331 Include smartmontools in Solaris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7917
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
As specified in the smartmontools PSARC case, add a warning message to the
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
smartctl man page to make sure that users are aware of the consequences of
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
using this utility.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
This change is not yet appropriate for upstream.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
--- smartmontools-6.5/smartctl.8.in.orig	2017-01-23 09:41:39.205216399 +0000
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
+++ smartmontools-6.5/smartctl.8.in	2017-01-23 09:42:15.210789851 +0000
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
@@ -2333,6 +2333,10 @@
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 \fBupdate-smart-drivedb\fP(8).
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
 .\" %ENDIF ENABLE_UPDATE_SMART_DRIVEDB
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
+.SH WARNING
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
+The smartctl utility accesses the internals of your system and its
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
+incorrect usage may render your system inoperable.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
+
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
 .SH REFERENCES
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
 Please see the following web site for more info:
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
 \fBhttp://www.smartmontools.org/\fP