[Nut-upsdev] Format of entires in data/driver.list

Peter Selinger selinger at mathstat.dal.ca
Tue May 22 21:29:22 UTC 2007


Charles Lepple wrote:
> 
> On 5/22/07, Arjen de Korte <nut+devel at de-korte.org> wrote:
> > I want to propose to change the format of the entries in the
> > data/driver.list file. Currently the format is (according to the header)
> >
> > # <manufacturer> <model name> <model extra> <driver>
> [...]
> > Now that we're seeing more and more UPSes with both serial and USB
> > connections, I think it makes sense to add another (mandatory) field that
> > lists the communication interface used by the driver. This allows for
> > easier sorting of the list of drivers, now that the list is growing.
> 
> I can't find the exact script that parses this list (and I'm running
> out of time on my lunch hour) but I think the format has been implicit
> up to now.
> 
> Do we want to take this time to consider another format that is easier
> to extend in the future?
> 
> I'm thinking of a key-value arrangement, much like the config sections
> in ups.conf.

Didn't Arnaud have an intern last year (Jonathan?) who did something
like that? What happened to his changes? Are they still in a branch
somewhere? 

-- Peter




More information about the Nut-upsdev mailing list