Frantisek Dufka wrote:
Could be something with filesystem layout (i.e. order in which the files
are created in directories)? True that tar and mkfs.jffs2 create files
is specific/same order but rsync makes it more random so the directory
enumeration when not sorted is different?
This old issue discussed here
http://www.gossamer-threads.com/lists/maemo/developers/12107#12107
and also reported as
https://maemo.org/bugzilla/show_bug.cgi?id=838
is still relevant on N800 with latest two firmwares.
Now it looks like it really depends only on directory enumeration. Just
creating ext3/ext2 filesystem with dir_index breaks it. Not using dir_index
attribute works fine. Previously there was some doubt whether this is
caused by corrupted filesystem or by not cloning the filesystem
completely, now it is more clear.
As it will probably just rot in bugzilla without anyone noticing it I'm
posting it here too FYI.
It is not very important issue but there are two conclusions
1. it is a bug
2. for workaround when cloning the filesystem use GNU tar which
preserves on-disk order, avoid rsync or dir_index flag or anything else
that may change ordering of files in directory
Would be interesting to know which exact directory need to be preserved
like this, probably the one with fonts. It should be possible to use tar
once and then rsync the rest (even multiple times if you keep one root
system as a backup and sync it regulary to the main one).
Frantisek
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers