On 01/23/2018 11:44 AM, jdd@dodin.org wrote:
Le 23/01/2018 à 08:18, Bernhard Voelker a écrit :
On 01/22/2018 09:00 PM, jdd@dodin.org wrote:
I couldn't have two identical copies, I give up:-(
well, you could surely achieve this by creating a copy of the (unmounted!) file system instead of the content therein. E.g. with dd [1], you need the arguments:
sure, but what for? I have no clue if the original copy do not have some problems...
I sometime have weird file names, most probably some utf8 badly converted from other file system that are visible on dolphin by black square (nul?) in the file name. Dolphin refuses do manage them, only * or ? can do, so I can remove them or rename them with simpler values, if I can catch them, but some reappear from time to time, I don't know really why
this may - or not - be the problem.
anyway I just made an other rsync (same archive, but the target is an other disk) and there is also some difference
ghost in the shell?? :-)
well, a dd clone doesn't care about what files and file names are inside; it doesn't even know that the data copied is a file system. ;-) Regarding bad file names: even if an application shows it with * or ? or whatever, it should be able to handle the file. You can also rename them to proper names. However, I don't think this affects whether a rsync'ed copy has the same disk usage. As mentioned earlier: use "du --apparent-size ..." to compare the sizes, or use "find -xdev -type f -printf '%s %p\n'" to get a such a list for comparison. It's not the brutto bytes the file system uses for storing a file which is important, but the net content' size. Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org