Hello > > What is the safe way to synchronize the union with the branch? > > I have tried the following, but I'm not sure if it's dangerous: > > # rm /<path-to-file> # remove the file in the union # rm > > /mnt/rwdisk/<path-to-.wh-file> # remove the .wh-file in the = > > read-writable partition After that, the lower branch file is in the > > union again. > > As long as udba=inotify is specified, it is safe. > Additionally, you can remove the file directly by rm > /mnt/rwdisk/<path-to-file>, which will not create a new whiteout.
Hm, I don't know why I didn't do it that way. I thought it didn't work. > Note: If your applicattion already opened the file, its i/o > after the removal will be made to the removed file under /mnt/rwdisk. Good to know. > > Is there a better method? > > Yes, I am developing now. > > > > Unfortunatly I don't know which file causes the > segmentation fault. In > > = my rsync-Script I didn't have verbose output. :-( > > rsync? > The trigger is manual cp after rsync, isn't it? > I thought that you know which file you are copying... You are right. Sorry! The cp command after the rsync was the trigger. But the cp command was in a script without verbose output. Anyway, I will get some experience with "inotify". If the segfault appears again, I will try to find out, which cp command the trigger was. Thanks again for the helpful suggestions Best regards Elmi
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
