[lm-sensors] [RFC PATCH v1 0/2] Add the sensors-config tool

VDR User user.vdr at gmail.com
Tue Feb 23 18:00:17 CET 2010


On Tue, Feb 23, 2010 at 12:20 AM, Hans de Goede <hdegoede at redhat.com> wrote:
>>> 1) How will you deal with board / produty version (we are going to need
>>>   these to uniquely identify some boards)
>>
>> Not sure why this would be an issue..?
>
> This would be an issue when using:
> <some-path>/board_vendor/board_name
>
> To locate the correct config file, as there is no version present in that
> scheme
>
>>> 2) Are you going to handle having multiple board_name's in the same
>>>   config file.
>>
>> Why would this be any problem at all?
>
> The same, this would mean having multiple copies of the same file when using
> the above dir layout.

Instead of creating a big dir tree, why not just put all the different
config files (which should be named using common sense) into one dir
and maintain a text file which points the
vendor/model/version/whatever_else to the correct file?  Then you can
just grep what you're looking for.  I'm a fan of not making things
harder then they need to be, especially when it can be so simple. ;)




More information about the lm-sensors mailing list