After your walkthrough if the approach on IRC, I came up with this patch, which seems to take care of the problem. If there is a consensus that this is something that would be generally useful for eCos/JFFS2 users, I'll be happy to clean it up and submit a patch. -- Øyvind Harboe http://www.zylin.com