On October 5, 2022 12:57:44 AM GMT+02:00, Klemens Nanni
wrote:
>There is no problem to fix, but every boot I read "/clearing /tmp" and
>know it is a useless step since my /tmp live on volatile RAM anyway.
>
>Other steps in rc(8) also check and print/log conditionally, so this
>can do as well,
If it is empty at the beginning, the operation is free.
Today it is a narrow check for mfs. Tomorrow someone will want to
add tmpfs to this. And next month, some other crazy configuration.
So I do not see the point of this diff, at all.
The find operation is free. The echo doesn't stab you
There is no problem to fix, but every boot I read "/clearing /tmp" and
know it is a useless step since my /tmp live on volatile RAM anyway.
Other steps in rc(8) also check and print/log conditionally, so this
can do as well, saving yet another line.
There is also the unconditional
echo