[PATCH] Support for running mdev from rootfs

Rob Landley rob at landley.net
Sun Jun 11 18:28:37 UTC 2006


On Thursday 08 June 2006 3:22 pm, Jason Schoon wrote:
> I wanted to use mdev from a rootfs, but the opendir calls fail in that
> filesystem.  This patch falls back to using stat when that occurs.

I believe this is actually a workaround for a uClibc bug rather than something 
specific to rootfs, but in the continuing absence of a 0.9.29 release, it's 
needed anyway.

However, I've queued it up without the check for entry->d_type.  If we can't 
rely on that then we shouldn't waste the bytes to look at it at all.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list