freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-devel] more NULLP errors


From: Albert Chu
Subject: Re: [Freeipmi-devel] more NULLP errors
Date: Thu, 15 Apr 2004 14:08:58 -0700

> My original goal with aliases was to be able to use single-word 
> aliases for sensor groups so I didn't have to enclose the group 
> names in quotes.

I agree.  The non-single word sensor group names is quite annoying. 
When you run a sensors command remotely (i.e. with rsh), you also have
to also escape the quote characters.

thunderi|/home/achu 52>rsh ethunder208 /usr/sbin/sensors -g "power supply"
sensors: error: Invalid sensor group [power]

thunderi|/home/achu 53>rsh ethunder208 /usr/sbin/sensors -g \"power supply\"
68: Pwr Supply 1 (Power Supply): [OK]
<SNIP - etc. happy output>

Al

--
Albert Chu
address@hidden
Lawrence Livermore National Laboratory

----- Original Message -----
From: Robin Goldstone <address@hidden>
Date: Thursday, April 15, 2004 1:29 pm
Subject: Re: [Freeipmi-devel] more NULLP errors

> On Thursday 15 April 2004 01:24 pm, Albert Chu wrote:
> > As I was finding these, it did come to mind, why are we doing 
> "aliasing"> for sensor group names.  I originally suggested we just 
> do strcasecmp()
> > instead of strcmp() for sensor names.  Would this take care of 
> the NULLP
> > errors?
> 
> I am also curious about the aliasing scheme that AB (or someone?) 
> came up 
> with.  My original goal with aliases was to be able to use single-
> word 
> aliases for sensor groups so I didn't have to enclose the group 
> names in 
> quotes.  However, it seems that the current aliasing scheme simply 
> translates 
> the group names to lower case e.g.
> event logging disabled = [Event Logging Disabled]
> 
> which really doesn't help much IMO.
> 
> -Robin
> 
> 
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/freeipmi-devel
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]