Re: rc: do not clear mfs /tmp

2022-10-05 Thread Alexander Hall
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,

Re: rc: do not clear mfs /tmp

2022-10-04 Thread Theo de Raadt
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

rc: do not clear mfs /tmp

2022-10-04 Thread Klemens Nanni
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