Add mkfs.jffs2 compatible device table support
Brought to you by:
quinlan
This patch adds support for mkfs.jffs2 compatible
device table files. I have also included a sample
device table file (the one from the MTD cvs tree) as
well as a patch adding support for them to mkcramfs. I
also fixed a few bugs I found in the cramfs 1.1
release. It would be very nice to see this applied to
the upstream source tree and released. It makes it
easy to build full filesystems (including device nodes,
proper permissions, etc) without needing to be root,
and is therefore used by the buildsystems for a number
of projects,
-Erik
--
Erik B. Andersen
http://codepoet-consulting.com/
--This message was written using 73% post-consumer
electrons--
Logged In: YES
user_id=11587
The following patch is required to make the above patch work
correctly with subdirs
http://www.uclibc.org/lists/uclibc/2004-April/008745.html
[in case the link is down, here is a summary of the diff]
- return (find_filesystem_entry (e, name, type));
+ return (find_filesystem_entry (e, name + len + 1, type));