[uClibc] mkcramfs bug: devicelist and subdirs

Dale P. Smith dsmith at actron.com
Fri Apr 23 18:10:11 UTC 2004


Chris Wilson <chris at netservers.co.uk> writes:

> When searching for a file (or device node) to create in a subdirectory, 
> mkcramfs doesn't remove the parent's path component which it's already 
> matched. This prevents the sought node from ever being found if it lives 
> in a subdirectory. This was triggered by "/dev/net/tun" in the supplied 
> device_table.txt, since mkcramfs cannot find "/dev/net" in order to 
> create the "tun" entry inside it. The attached patch should fix it.

Hah!  I'm glad you found that.  I merely deleted /dev/net/tun from the
device_table.txt because I didn't need it.

-Dale

-- 
Dale P. Smith
dsmith at actron dot com



More information about the uClibc mailing list