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

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Mon Jul 11 11:53:00 EDT 2011


Tom Gundersen, 2011-07-10 22:04:
> 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.
>
> Cheers,
>
> Tom

OK to me also, as it would only make a difference in exotic/unsupported 
configurations AFAIKS.

-- 
Kurt


More information about the arch-projects mailing list