[BusyBox 0000864]: mdev fails to detect directories on sysfs
bugs at busybox.net
bugs at busybox.net
Thu May 4 19:53:36 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=864
======================================================================
Reported By: admie
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 864
Category: Documentation
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: duplicate
Duplicate: 0
Fixed in Version:
======================================================================
Date Submitted: 05-04-2006 01:02 PDT
Last Modified: 05-04-2006 12:53 PDT
======================================================================
Summary: mdev fails to detect directories on sysfs
Description:
mdev uses struct dirent->d_type to distinguish directories from files.
As far as I see, this field is not covered by any man pages or the like,
besides that man pages warning not to use not mensioned fields.
2.6.x seem to just zero d_type, so I patched mdev.c
to use lstat() -- it works for me.
Patch included, against busybox-1.1.1.
======================================================================
----------------------------------------------------------------------
vapier - 05-04-06 12:53
----------------------------------------------------------------------
you're probably using uclibc 0.9.28 ... in that case, this is a dupe of Bug
661
Issue History
Date Modified Username Field Change
======================================================================
05-04-06 01:02 admie New Issue
05-04-06 01:02 admie Status new => assigned
05-04-06 01:02 admie Assigned To => BusyBox
05-04-06 01:02 admie File Added: mdev.patch
05-04-06 01:31 admie Issue Monitored: admie
05-04-06 12:53 vapier Note Added: 0001343
05-04-06 12:53 vapier Status assigned => closed
05-04-06 12:53 vapier Resolution open => duplicate
======================================================================
More information about the busybox-cvs
mailing list