site  contact  subhomenews

Invalid aufs whiteout files

August 19, 2025 — BarryK

The guys have been discussing this on the forum, for example:

https://forum.puppylinux.com/viewtopic.php?p=154961#p154961

Yes, aufs lacks diligence, leaves behind whiteout files that are no longer needed.

The script that saves the session, including for containers, is /etc/rc.d/rw-merge

I have added code to it to purge invalid whiteout files. That will slow down shutdown, it remains to be seen if by a noticeable amount of time.

I considered doing the whiteout purge less frequently, in the initrd when there is a version update, but we shall see how this goes, doing it every shutdown.  

Tags: easy