Patch for knoppix-image
Hi there,
> Everytime I select this option Knoppix just hangs with the following error
> message:
> ------------
> rsync: recv_generator: failed to stat "/UNIONFS/etc/ssh.wh..wh..opq":
> Operation not permitted (1)
> ------------
> Is there any workaround for this problem? I really need this to work.
Those .wh..* files seem to be special aufs files. I fixed the bug by adding
another --exclude to the rsync in knoppix-image (see attached patch).
I am no aufs expert and I do not understand all consequences of excluding
these files. I leave the evaluation to the experts. Klaus? :-)
Regards
Ronny
--- knoppix-image.original 2008-05-02 23:32:07.000000000 +0200
+++ knoppix-image.patched 2008-05-02 23:33:28.000000000 +0200
@@ -312,7 +312,7 @@
esac
case "$SELECTION" in *overwrite*)
- [ -z "$OLDHOMEDIR" ] && rsync --update --exclude /ramdisk/etc/mtab -Ha /ramdisk/etc/ /UNIONFS/etc
+ [ -z "$OLDHOMEDIR" ] && rsync --update --exclude .wh.* --exclude /ramdisk/etc/mtab -Ha /ramdisk/etc/ /UNIONFS/etc
;;
esac
Reply to: