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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 28 Jul 2006 12:10:43 -0400
From:	"Dmitry Torokhov" <dmitry.torokhov@...il.com>
To:	"Shem Multinymous" <multinymous@...il.com>
Cc:	"Vojtech Pavlik" <vojtech@...e.cz>,
	"Brown, Len" <len.brown@...el.com>, "Pavel Machek" <pavel@...e.cz>,
	"Matthew Garrett" <mjg59@...f.ucam.org>,
	"kernel list" <linux-kernel@...r.kernel.org>,
	linux-thinkpad@...ux-thinkpad.org, linux-acpi@...r.kernel.org
Subject: Re: Generic battery interface

On 7/28/06, Shem Multinymous <multinymous@...il.com> wrote:
> On 7/28/06, Dmitry Torokhov <dmitry.torokhov@...il.com> wrote:
> > 4) sysfs - all capabilities, IDs, etc for input devices exported there as well.
>
> Forgive my ignorance, but how do I conncet a sysfs directory with a /dev device?
> So far the only way I found is to compare /sys/whatever/dev with the
> major+minor of the dev file, which requires brute-force enumeration on
> at least one side.
>

Can't we have udev make a symlink when it creates device node? Kernel
can't provide this link since it knows nothing about naming. You could
either have a symlink from /sys/ or maybe /dev/enum/<name matching
print_dev_t() output>

-- 
Dmitry
-
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