From 10a78b30b0a15df74b552004f630667ee2c6707f Mon Sep 17 00:00:00 2001
From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Wed, 13 Nov 2002 10:14:40 +0000
Subject: [PATCH] release 41

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@257 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 sm5/smartd.8           | 14 ++++++++------
 sm5/smartd.c           |  4 ++--
 sm5/smartd.conf.5      | 16 +++++++++-------
 sm5/smartd.cpp         |  4 ++--
 sm5/smartmontools.spec |  4 ++--
 5 files changed, 23 insertions(+), 19 deletions(-)

diff --git a/sm5/smartd.8 b/sm5/smartd.8
index decb4b56f..a753b24e3 100644
--- a/sm5/smartd.8
+++ b/sm5/smartd.8
@@ -1,6 +1,6 @@
 \# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
 \# 
-\# $Id: smartd.8,v 1.27 2002/11/13 10:04:13 ballen4705 Exp $
+\# $Id: smartd.8,v 1.28 2002/11/13 10:14:40 ballen4705 Exp $
 \#
 \# This program is free software; you can redistribute it and/or modify it
 \# under the terms of the GNU General Public License as published by the Free
@@ -16,7 +16,7 @@
 \# Research Center), Jack Baskin School of Engineering, University of
 \# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
 \#
-.TH SMARTD 8  "$Date: 2002/11/13 10:04:13 $" "smartmontools-5.0"
+.TH SMARTD 8  "$Date: 2002/11/13 10:14:40 $" "smartmontools-5.0"
 .SH NAME
 smartd \- S.M.A.R.T. Daemon
 .SH SYNOPSIS
@@ -250,9 +250,11 @@ name on any line of the
 configuration file. Note that
 .B these are NOT command-line options for 
 .B smartd.
-The Directives below may appear in any order,
-following the device name.  For the moment, apart from the '\-S' and '\-M'
-Directives, these Directives only apply to ATA disks. 
+The Directives below may appear in any order, following the device
+name.  For the moment, apart from the '\-S', '\-C', and '\-M'
+Directives, these Directives only apply to ATA disks. For SCSI disks,
+the '\-M' Directive sends a warning email if the SMART status
+indicates a disk failure or problem.
 .B  For ATA disks, if
 .B no Directives appear, the disk will not be monitored.
 The '\-a' Directive will try to monitor everything possible.
@@ -540,4 +542,4 @@ Please let us know if there is an on\-line source for this document.
 
 .SH
 CVS ID OF THIS PAGE:
-$Id: smartd.8,v 1.27 2002/11/13 10:04:13 ballen4705 Exp $
+$Id: smartd.8,v 1.28 2002/11/13 10:14:40 ballen4705 Exp $
diff --git a/sm5/smartd.c b/sm5/smartd.c
index 8121b9176..0af8cfa70 100644
--- a/sm5/smartd.c
+++ b/sm5/smartd.c
@@ -45,7 +45,7 @@
 
 // CVS ID strings
 extern const char *CVSid1, *CVSid2;
-const char *CVSid6="$Id: smartd.c,v 1.62 2002/11/13 10:04:13 ballen4705 Exp $" 
+const char *CVSid6="$Id: smartd.c,v 1.63 2002/11/13 10:14:40 ballen4705 Exp $" 
 CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
 
 // global variable used for control of printing, passing arguments, etc.
@@ -245,7 +245,7 @@ void Directives() {
   printout(LOG_INFO,"   #     Comment: text after a hash sign is ignored\n");
   printout(LOG_INFO,"   \\    Line continuation character\n");
   printout(LOG_INFO,"Attribute ID is a decimal integer 1 <= ID <= 255\n");
-  printout(LOG_INFO,"All but -S and -M Directives are only implemented for ATA devices\n");
+  printout(LOG_INFO,"For SCSI devices, only -S, -C, and -M Directives are supported\n");
   printout(LOG_INFO,"Example: /dev/hda -a\n");
 return;
 }
diff --git a/sm5/smartd.conf.5 b/sm5/smartd.conf.5
index 4c0da2962..611e7e95f 100644
--- a/sm5/smartd.conf.5
+++ b/sm5/smartd.conf.5
@@ -1,6 +1,6 @@
 \# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
 \# 
-\# $Id: smartd.conf.5,v 1.4 2002/11/12 21:16:25 ballen4705 Exp $
+\# $Id: smartd.conf.5,v 1.5 2002/11/13 10:14:40 ballen4705 Exp $
 \#
 \# This program is free software; you can redistribute it and/or modify it
 \# under the terms of the GNU General Public License as published by the Free
@@ -16,7 +16,7 @@
 \# Research Center), Jack Baskin School of Engineering, University of
 \# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
 \#
-.TH SMARTD.CONF 5  "$Date: 2002/11/12 21:16:25 $" "smartmontools-5.0"
+.TH SMARTD.CONF 5  "$Date: 2002/11/13 10:14:40 $" "smartmontools-5.0"
 .SH NAME
 /etc/smartd.conf \- S.M.A.R.T. Monitoring Daemon Configuration File
 
@@ -101,7 +101,7 @@ Section below!
 .nf
 .B # First ATA disk on each of two interfaces:
 .B #
-.B \ \ /dev/hda -a  
+.B \ \ /dev/hda -a -M admin@yoyodyne.com,root@localhost 
 .B \ \ /dev/hdc -a -I 194 -I 5 -i 12
 .B #
 .nf
@@ -147,9 +147,11 @@ name on any line of the
 configuration file. Note that
 .B these are NOT command-line options for 
 .B smartd.
-The Directives below may appear in any order,
-following the device name.  For the moment, apart from the '\-S'
-Directive, these Directives only apply to ATA disks. 
+The Directives below may appear in any order, following the device
+name.  For the moment, apart from the '\-S', '\-C', and '\-M'
+Directives, these Directives only apply to ATA disks. For SCSI disks,
+the '\-M' Directive sends a warning email if the SMART status
+indicates a disk failure or problem.
 .B  For ATA disks, if
 .B no Directives appear, the disk will not be monitored.
 The '\-a' Directive will try to monitor everything possible.
@@ -367,4 +369,4 @@ SEE ALSO:
 
 .SH
 CVS ID OF THIS PAGE:
-$Id: smartd.conf.5,v 1.4 2002/11/12 21:16:25 ballen4705 Exp $
+$Id: smartd.conf.5,v 1.5 2002/11/13 10:14:40 ballen4705 Exp $
diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp
index 0220296ec..6bdc8deaf 100644
--- a/sm5/smartd.cpp
+++ b/sm5/smartd.cpp
@@ -45,7 +45,7 @@
 
 // CVS ID strings
 extern const char *CVSid1, *CVSid2;
-const char *CVSid6="$Id: smartd.cpp,v 1.62 2002/11/13 10:04:13 ballen4705 Exp $" 
+const char *CVSid6="$Id: smartd.cpp,v 1.63 2002/11/13 10:14:40 ballen4705 Exp $" 
 CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
 
 // global variable used for control of printing, passing arguments, etc.
@@ -245,7 +245,7 @@ void Directives() {
   printout(LOG_INFO,"   #     Comment: text after a hash sign is ignored\n");
   printout(LOG_INFO,"   \\    Line continuation character\n");
   printout(LOG_INFO,"Attribute ID is a decimal integer 1 <= ID <= 255\n");
-  printout(LOG_INFO,"All but -S and -M Directives are only implemented for ATA devices\n");
+  printout(LOG_INFO,"For SCSI devices, only -S, -C, and -M Directives are supported\n");
   printout(LOG_INFO,"Example: /dev/hda -a\n");
 return;
 }
diff --git a/sm5/smartmontools.spec b/sm5/smartmontools.spec
index b9fadec88..3f1137358 100644
--- a/sm5/smartmontools.spec
+++ b/sm5/smartmontools.spec
@@ -1,4 +1,4 @@
-Release:  40
+Release:  41
 Summary:	SMARTmontools - for monitoring S.M.A.R.T. disks and devices
 Summary(de):	SMARTmontools - zur �berwachung von S.M.A.R.T.-Platten und-Ger�ten
 Summary(es):	SMARTmontools - para el seguimiento de discos y dispositivos S.M.A.R.T.
@@ -29,7 +29,7 @@ Packager:       Bruce Allen <smartmontools-support@lists.sourceforge.net>
 # http://ftp1.sourceforge.net/smartmontools/smartmontools-%{version}-%{release}.tar.gz
 
 # CVS ID of this file is:
-# $Id: smartmontools.spec,v 1.61 2002/11/13 10:04:13 ballen4705 Exp $
+# $Id: smartmontools.spec,v 1.62 2002/11/13 10:14:40 ballen4705 Exp $
 
 # Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
 # Home page: http://smartmontools.sourceforge.net/
-- 
GitLab