Note, if anyone wants to use this, you need to change the notify-send command back to yaf-splash if your system doesn't have notification daemon.
Bug fixes include:
- Apparently opaque files used to be called .wh__dir_opaque but the name has since changed to .wh..wh..opq. Opaque directiories were not working at all. Looks like the init script has this issue too!
Remount aufs in notfiy mode during the copy down. This prevents the temporary resurection of undead files.
Delete whiteouts from the base if copying a new file down. This prevents I/O errors.
Call df only when needed - speeds things up a little.