[arch-projects] [initscripts][RFC] managing /tmp
teg at jklm.no
Wed May 18 13:54:56 EDT 2011
On Wed, May 18, 2011 at 7:41 PM, Dave Reisner <d at falconindy.com> wrote:
> Additionally, clearing /tmp in /etc/rc.local is too late. Daemons are
> already started at this point. X might even be running. We can't blindly
> rip out this data. If we really wanted to go this route (and I
> personally don't think we should), we would need to add another hook
> within rc.sysint shortly after root is remounted rw, which would be the
> appropriate time for this to happen.
Meh, you convinced me. I'll just reinstate the old behavior. We will
not support preserving /tmp.
> I disagree. Arch doesn't push any default setting of mounting tmpfs on
> /tmp, so I think the majority use case is that the rm call removes
> something. The opt-in behavior (the edge case) is where this becomes
> a NOOP.
I guess I rather should have suggested making /tmp as tmpfs the
default, because there really is no good reason (at least I have not
been able to find any) for doing anything else (yet people are doing
it...). I guess a case could be made for keeping /tmp on the root
device, but I don't think it is a good idea either.
More information about the arch-projects