From a5257f9408e0573e425214cfb83b8c801e4e953d Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Fri, 9 Apr 2004 14:27:16 +0000 Subject: [PATCH] Improved -D (list directives) output git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@1665 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/smartd.c | 12 ++++++------ sm5/smartd.cpp | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sm5/smartd.c b/sm5/smartd.c index c0f3253b6..6a2692bea 100644 --- a/sm5/smartd.c +++ b/sm5/smartd.c @@ -98,7 +98,7 @@ int getdomainname(char *, int); /* no declaration in header files! */ extern const char *atacmdnames_c_cvsid, *atacmds_c_cvsid, *ataprint_c_cvsid, *escalade_c_cvsid, *knowndrives_c_cvsid, *os_XXXX_c_cvsid, *scsicmds_c_cvsid, *utility_c_cvsid; -static const char *filenameandversion="$Id: smartd.c,v 1.313 2004/04/09 13:36:22 ballen4705 Exp $"; +static const char *filenameandversion="$Id: smartd.c,v 1.314 2004/04/09 14:27:16 ballen4705 Exp $"; #ifdef NEED_SOLARIS_ATA_CODE extern const char *os_solaris_ata_s_cvsid; #endif @@ -109,7 +109,7 @@ extern const char *syslog_win32_c_cvsid; extern const char *int64_vc6_c_cvsid; #endif #endif -const char *smartd_c_cvsid="$Id: smartd.c,v 1.313 2004/04/09 13:36:22 ballen4705 Exp $" +const char *smartd_c_cvsid="$Id: smartd.c,v 1.314 2004/04/09 14:27:16 ballen4705 Exp $" ATACMDS_H_CVSID ATAPRINT_H_CVSID CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID KNOWNDRIVES_H_CVSID SCSICMDS_H_CVSID SMARTD_H_CVSID #ifdef SYSLOG_H_CVSID @@ -986,16 +986,16 @@ void Directives() { " -R ID Track changes in Attribute ID Raw value with -p, -u or -t\n" " -i ID Ignore Attribute ID for -f Directive\n" " -I ID Ignore Attribute ID for -p, -u or -t Directive\n" + " -C ID Monitor Current Pending Sectors in Attribute ID\n" + " -U ID Monitor Offline Uncorrectable Sectors in Attribute ID\n" " -v N,ST Modifies labeling of Attribute N (see man page) \n" " -P TYPE Drive-specific presets: use, ignore, show, showall\n" - " -a Default: equivalent to -H -f -t -l error -l selftest\n" + " -a Default: -H -f -t -l error -l selftest -C 197 -U 198\n" " -F TYPE Firmware bug workaround: none, samsung, samsung2\n" - " -C ID Monitor current pending sectors in Attribute ID\n" - " -U ID Monitor offline uncorrectable sectors in Attribute ID\n" " # Comment: text after a hash sign is ignored\n" " \\ Line continuation character\n" "Attribute ID is a decimal integer 1 <= ID <= 255\n" - "SCSI devices: only -d, -m, and -M Directives allowed.\n" + "Use ID = 0 to turn off -C and/or -U Directives\n" "Example: /dev/hda -a\n", configfile); return; diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp index 80b538fc9..65a5c29a9 100644 --- a/sm5/smartd.cpp +++ b/sm5/smartd.cpp @@ -98,7 +98,7 @@ int getdomainname(char *, int); /* no declaration in header files! */ extern const char *atacmdnames_c_cvsid, *atacmds_c_cvsid, *ataprint_c_cvsid, *escalade_c_cvsid, *knowndrives_c_cvsid, *os_XXXX_c_cvsid, *scsicmds_c_cvsid, *utility_c_cvsid; -static const char *filenameandversion="$Id: smartd.cpp,v 1.313 2004/04/09 13:36:22 ballen4705 Exp $"; +static const char *filenameandversion="$Id: smartd.cpp,v 1.314 2004/04/09 14:27:16 ballen4705 Exp $"; #ifdef NEED_SOLARIS_ATA_CODE extern const char *os_solaris_ata_s_cvsid; #endif @@ -109,7 +109,7 @@ extern const char *syslog_win32_c_cvsid; extern const char *int64_vc6_c_cvsid; #endif #endif -const char *smartd_c_cvsid="$Id: smartd.cpp,v 1.313 2004/04/09 13:36:22 ballen4705 Exp $" +const char *smartd_c_cvsid="$Id: smartd.cpp,v 1.314 2004/04/09 14:27:16 ballen4705 Exp $" ATACMDS_H_CVSID ATAPRINT_H_CVSID CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID KNOWNDRIVES_H_CVSID SCSICMDS_H_CVSID SMARTD_H_CVSID #ifdef SYSLOG_H_CVSID @@ -986,16 +986,16 @@ void Directives() { " -R ID Track changes in Attribute ID Raw value with -p, -u or -t\n" " -i ID Ignore Attribute ID for -f Directive\n" " -I ID Ignore Attribute ID for -p, -u or -t Directive\n" + " -C ID Monitor Current Pending Sectors in Attribute ID\n" + " -U ID Monitor Offline Uncorrectable Sectors in Attribute ID\n" " -v N,ST Modifies labeling of Attribute N (see man page) \n" " -P TYPE Drive-specific presets: use, ignore, show, showall\n" - " -a Default: equivalent to -H -f -t -l error -l selftest\n" + " -a Default: -H -f -t -l error -l selftest -C 197 -U 198\n" " -F TYPE Firmware bug workaround: none, samsung, samsung2\n" - " -C ID Monitor current pending sectors in Attribute ID\n" - " -U ID Monitor offline uncorrectable sectors in Attribute ID\n" " # Comment: text after a hash sign is ignored\n" " \\ Line continuation character\n" "Attribute ID is a decimal integer 1 <= ID <= 255\n" - "SCSI devices: only -d, -m, and -M Directives allowed.\n" + "Use ID = 0 to turn off -C and/or -U Directives\n" "Example: /dev/hda -a\n", configfile); return; -- GitLab