[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m2k65ykul0.fsf@phoenix.squirrel.nl>
Date: Fri, 28 Jul 2006 10:22:03 +0200
From: Johan Vromans <jvromans@...irrel.nl>
To: "Brown, Len" <len.brown@...el.com>
Cc: "Shem Multinymous" <multinymous@...il.com>,
"Pavel Machek" <pavel@...e.cz>,
"Matthew Garrett" <mjg59@...f.ucam.org>, <vojtech@...e.cz>,
"kernel list" <linux-kernel@...r.kernel.org>,
<linux-thinkpad@...ux-thinkpad.org>, <linux-acpi@...r.kernel.org>
Subject: Re: Generic battery interface
"Brown, Len" <len.brown@...el.com> writes:
> good for shell scripts, not clear it is better for C programs
> that have to open a bunch of files by name.
Moreover, it means that the factual data is only made available as a
nice textual string, that then has to be parsed by shell scripts and
other programs to get the factual data again.
So I feel much for /dev/xxx approach, together with the already
mentioned small utilities like 'batstat' for shell scripts.
-- Johan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists