On Tue, 25 Jan 2005 18:43:22 -0500
Matthew Cline <[EMAIL PROTECTED]> wrote:
> >
> > /var/tmp should survive a reboot according to the FHS.
> >
>
> That is interesting. IIRC, Gentoo's init scrips automatically clean
> /tmp and /var/tmp on start-up or shutdown.
>
> Matt
on my system /etc/init.d/bootmisc cleans up /tmp (but not _everything_
in it, but doesn't appear to touch /var/tmp
the relevant portion appears to be:
if [ -z "${CDBOOT}" ]
then
ebegin "Cleaning /tmp directory"
rm -f /tmp/.X*-lock /tmp/esrv* /tmp/kio* /tmp/jpsock.*
/tmp/.fam* &>/dev/null
rm -rf /tmp/.esd* /tmp/orbit-* /tmp/ssh-*
/tmp/ksocket-* /tmp/.*-unix &>/dev/null
# Make sure our X11 stuff have the correct permissions
mkdir -p /tmp/.{ICE,X11}-unix &>/dev/null
# chown root.root /tmp/.{ICE,X11}-unix &>/dev/null
chmod 1777 /tmp/.{ICE,X11}-unix &>/dev/null
eend 0
fi
baselayout-1.9.4-r6
>
> --
> [email protected] mailing list
--
Nick Rout <[EMAIL PROTECTED]>
--
[email protected] mailing list