[prev in list] [next in list] [prev in thread] [next in thread]
List: smartmontools-support
Subject: Re: [smartmontools-support] smartd with more than 26 SCSI disks
From: Bruce Allen <ballen () gravity ! phys ! uwm ! edu>
Date: 2008-03-22 2:59:24
Message-ID: Pine.LNX.4.63.0803212057430.13833 () homer ! phys ! uwm ! edu
[Download RAW message or body]
Hi Jim,
>> OK. At some point we should make the 'glob argument' and the 'max
>> number of devices' command line arguments. Out of curiousity, what are
>> the 40 devices and how are they structured/accesssed?
>
> Looking at the code in get_dev_names, 'max number of devices' seems to
> be just an artificial limit added for no clear reason. Is it necessary?
It doesn't look necessary. It's probably a historical artifact; a few
years ago smartd used a 'fixed length' device list. Now the device list
is dynamical and has no fixed length limits. So the 'max number of
devices' only serves as a sanity check.
Cheers,
Bruce
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic