Hi, "Vonlanthen, Elmar": > 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. Note: If your applicattion already opened the file, its i/o after the removal will be made to the removed file under /mnt/rwdisk. > 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... Junjiro R. Okajima ------------------------------------------------------------------------- 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=/
