lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 9 May 2014 09:57:08 +0200
From:	Jean Delvare <jdelvare@...e.de>
To:	Guenter Roeck <linux@...ck-us.net>
Cc:	Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
	"Yu, Fenghua" <fenghua.yu@...el.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	lm-sensors@...sensors.org
Subject: Re: [lm-sensors] coretemp.0 folder contents changed

Hi Guenter,

On Wed, 07 May 2014 05:10:58 -0700, Guenter Roeck wrote:
> On 05/07/2014 12:13 AM, Jean Delvare wrote:
> > On Tue, 06 May 2014 06:32:15 -0700, Guenter Roeck wrote:
> >> Can we implement a similar approach to network devices and make hwmon
> >> path names (ie the /sys/class/hwmon/XXX path name) configurable via udev ?
> >> Might be worth exploring.
> >
> > This is one possibility indeed. The good thing is that libsensors makes
> > no assumption on hwmon class device names, so we can change the names
> > without breaking any application which uses libsensors. Scripts
> > accessing sysfs directly may break though (pwmconfig would, for
> > example.)
> >
> > We'll have to be careful when choosing the new names, and make sure
> > there is no name space collision. Network interface renaming has caused
> > a great deal of trouble out there.
>
> Agreed. I'll try to find some time to play with it.
> 
> > Another approach, which I have in mind for quite some time already but
> > could never find the time to implement, would be a small helper binary
> > which would look-up hwmon devices by libsensors-like name (and the
> > other way around too.) Scripts could use it to benefit from libsensors
> > persistent names.
>
> Still needs that binary, though.

I have a proof of concept ready, I'll post it in a minute.

-- 
Jean Delvare
SUSE L3 Support
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ