On Thu, 2002-09-05 at 15:40, David Woodhouse wrote: > > kenneth.johansson@etx.ericsson.se said: > > Have the code for mkfs.jffs2 changed since last snapshot ?. > > Nope. In that case here is a patch to fix the permissions when cross building of a disk image. --- util/mkfs.jffs2.c Fri Jul 5 00:00:09 2002 +++ util2/mkfs.jffs2.c Thu Sep 5 16:10:21 2002 @@ -568,8 +568,8 @@ ri.ino = cpu_to_target32(ino); ri.mode = cpu_to_target32(statbuf->st_mode); - ri.uid = cpu_to_target32(statbuf->st_uid); - ri.gid = cpu_to_target32(statbuf->st_gid); + ri.uid = cpu_to_target16(statbuf->st_uid); + ri.gid = cpu_to_target16(statbuf->st_gid); ri.atime = cpu_to_target32(statbuf->st_atime); ri.ctime = cpu_to_target32(statbuf->st_ctime); ri.mtime = cpu_to_target32(statbuf->st_mtime); --------- I do still have a difference can you see what type of data this is thats wrong. The diff is from a correct image to a incorrect. -- Kenneth Johansson Ericsson AB Tel: +46 8 404 71 83 Borgafjordsgatan 9 Fax: +46 8 404 72 72 164 80 Stockholm kenneth.johansson@etx.ericsson.se