[arch-projects] [initscripts] [PATCH 18/20] rc.sysinit: Make Removing Leftover Files more smart

Tom Gundersen teg at jklm.no
Sun Jul 10 16:04:48 EDT 2011

On Sun, Jul 10, 2011 at 6:57 PM, Kurt J. Bosch
<kjb-temp-2009 at alpenjodel.de> wrote:
> Instead of guessing about symlinks, use stat to check whether the filesystem refered to is actually a tmpfs.
> Then always clean up if it isn't.

This is counter intuitive. The point is that we don't want to clean
when we have a symlink (as what it points to might have been created
after boot). I guess the result would be the same, but I'd rather keep
it as it is, unless there is a bug report.



More information about the arch-projects mailing list