There is an implementation of mkdir in busybox, the core of which is pretty nice code (if i do sayso myself), it work recursively.
I just quickly skimmed over your ./lib/makepath.c its pretty big.. it probably does lots of stuff bb mkdir doesnt need to do, nevertheless i think it may be worth your time to look over the following url's This is the core that does all the work http://www.busybox.net/cgi-bin/cvsweb/busybox/libbb/make_directory.c?sortby=file Which is called by http://www.busybox.net/cgi-bin/cvsweb/busybox/fileutils/mkdir.c Glenn _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils