how to see device name given by kernel

Kay Sievers kay.sievers at vrfy.org
Sun Nov 13 08:55:13 PST 2005


On Sun, Nov 13, 2005 at 05:47:49PM +0100, Roman Glebov wrote:
> How can i see the name kernel gave to the device ?

The name of the device directory in sysfs.

> for example in rules.conf of udev you see this KERNEL keys
> they come from kernel environment passed to the udev,
> but udevmonitor -e does not show them.

udev issues are usually handled at:
  linux-hotplug-devel at lists.sourceforge.net

> So what is the way to see what does the kernel pass to udev ?

It's simply the last part of the devpath, the string after the
last slash you see in udevmonitor. There is no explicit name
the kernel exports.

Kay


More information about the hal mailing list