mkcramfs Solaris (maybe others) patch
Brought to you by:
quinlan
This patch applies cleanly against cramfs-1.1.
It allows build of mkcramfs under Solaris hosts, and
possibly other non-linux systems.
* An implementation of scandir has been included for
systems lacking of it.
* The MAP_ANONYMOUS hack has been worked
around using another (dirty) hack, basically relying on
lazy memory allocation (cramfs image limitted to
32MB). Sorry, I don't have time to issue a better fix.
* mkcramfs is now more cross environment aware of
major and minor numbers.
I guess it's not worth the trouble yet, but it seems the
next step would be the integration with autoconf.
Note: there's no support for cramfsck yet.
mkcramfs-solaris.patch