From: Matthew Garrett <mjg59@srcf.ucam.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Using hwmon in-kernel
Date: Thu, 30 Oct 2008 02:12:19 +0000 [thread overview]
Message-ID: <20081030021219.GA8064@srcf.ucam.org> (raw)
In-Reply-To: <20081008003041.GA20169@srcf.ucam.org>
On Wed, Oct 29, 2008 at 06:45:36PM -0700, Trent Piepho wrote:
> On Thu, 30 Oct 2008, Matthew Garrett wrote:
> > Because any interface that basically enforces integer->string->integer
> > conversion is an indication that you're already doing it wrong.
>
> Many if not most users of the sysfs interface from userspace are doing
> int->string->int. Yeah, 'cat' and 'echo' aren't, but most apps more
> sophisticated than that do. So it's no more wrong than sysfs already is.
That's fine. It's an unavoidable result of one of the sysfs design goals
being for as much as possible to be human readable. That doesn't hold
when you're looking at kernel subsystems that are perfectly capable of
exporting their functionality to the rest of the kernel.
> Instead of hwmon providing this stuff, sysfs could always do it. There are a
> lot of non-hwmon attributes that could make use of it.
If you want to press for that then please feel free to do so, but it's
not an argument I'm interested in having with upstream.
--
Matthew Garrett | mjg59@srcf.ucam.org
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2008-10-30 2:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 0:30 [lm-sensors] Using hwmon in-kernel Matthew Garrett
2008-10-19 16:20 ` Jean Delvare
2008-10-19 18:02 ` Matthew Garrett
2008-10-20 7:05 ` Jean Delvare
2008-10-20 7:13 ` Hans de Goede
2008-10-20 10:00 ` Matthew Garrett
2008-10-20 16:13 ` Matthew Garrett
2008-10-22 18:48 ` Trent Piepho
2008-10-22 19:01 ` Matthew Garrett
2008-10-29 23:33 ` Trent Piepho
2008-10-30 0:03 ` Matthew Garrett
2008-10-30 1:45 ` Trent Piepho
2008-10-30 2:12 ` Matthew Garrett [this message]
2008-10-30 8:28 ` Jean Delvare
2008-10-30 9:39 ` Trent Piepho
2008-10-30 20:16 ` Henrique de Moraes Holschuh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081030021219.GA8064@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.