[BusyBox 0001384]: mdev -s does not populate /dev with devices that contain a symlink in /sys/class
bugs at busybox.net
bugs at busybox.net
Thu Jun 7 13:37:52 UTC 2007
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=1384
======================================================================
Reported By: Mischa Jonker
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1384
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 06-07-2007 06:37 PDT
Last Modified: 06-07-2007 06:37 PDT
======================================================================
Summary: mdev -s does not populate /dev with devices that
contain a symlink in /sys/class
Description:
mdev -s does not populate /dev with devices that contain a symlink in
/sys/class: for instance, I have a device /sys/class/graphics/fb0 which is
a symlink to ../../devices/platform/vfb.0/fb0. Because lstat is used in
mdev.c (i.s.o. stat) this device is not taken into account, and a node is
not created in /dev.
However, changing lstat into stat will cause problems, as there are loops
of symlinks in sysfs. udev itself solves this by only allowing to recurse
2 levels deep in the /sys/class and /sys/block directories. The proposed
patch is in the additional info.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
06-07-07 06:37 Mischa Jonker New Issue
06-07-07 06:37 Mischa Jonker Status new => assigned
06-07-07 06:37 Mischa Jonker Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list