From b11f2c066496037c058727dea484c5ac334cda64 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Sat, 11 Nov 2006 17:50:50 +0000 Subject: [PATCH] Increased max line length MAXLINELEN for /etc/smartd.conf from 128 to 256 characters to handle long strings in /dev/disk/by-id. Thanks to Martin Krafft. git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2323 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/CHANGELOG | 6 +++++- sm5/smartd.h | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index c52a1fa25..a2cda4de4 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,6 +1,6 @@ CHANGELOG for smartmontools -$Id: CHANGELOG,v 1.588 2006/10/30 22:35:28 pjwilliams Exp $ +$Id: CHANGELOG,v 1.589 2006/11/11 17:50:50 ballen4705 Exp $ The most recent version of this file is: http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/CHANGELOG?view=markup @@ -33,6 +33,10 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [BA] Increased max line length MAXLINELEN for /etc/smartd.conf from + 128 to 256 characters to handle long strings in + /dev/disk/by-id. Thanks to Martin Krafft. + [PW] Drive database: added missing drives from Seagate Momentus 5400.2 family diff --git a/sm5/smartd.h b/sm5/smartd.h index 563a2c172..1ac23e396 100644 --- a/sm5/smartd.h +++ b/sm5/smartd.h @@ -32,7 +32,7 @@ #ifndef SMARTD_H_CVSID -#define SMARTD_H_CVSID "$Id: smartd.h,v 1.83 2006/09/15 08:01:21 sxzzsf Exp $\n" +#define SMARTD_H_CVSID "$Id: smartd.h,v 1.84 2006/11/11 17:50:50 ballen4705 Exp $\n" #endif // Configuration file @@ -42,7 +42,7 @@ #define SCANDIRECTIVE "DEVICESCAN" // maximum line length in configuration file -#define MAXLINELEN 128 +#define MAXLINELEN 256 // maximum length of a continued line in configuration file #define MAXCONTLINE 1023 -- GitLab