Cleaning out /tmp on startup [cleanfs]

Nico R. n-roeser at gmx.net
Mon Mar 22 10:22:03 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nathan Coulson wrote:
> It was proposed on lfs-dev to remove all files in /tmp.  [according to
> FHS, nothing should be required between reboots].
> 
> I also remember a thread about XFree86, with KDE taking extra time to
> boot up, because of /tmp/.something-ICE-something was not owned by
> root.

I am running a modified cleanfs script to work around this. As I am
using tmpfs on /tmp, there is no need to clean /tmp on reboot. But that
ICE and X11 stuff is still an issue. My cleanfs script is attached for
your pleasure. ;-) It is based on (ancient?) lfs-bootscripts-1.11.
- -- 
Nico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAXy7QxI5uhYOGv4URArSKAKDj2nSdg/mdQqRleNgl4cpU+8TFzwCeMS7c
/EczY0u8teaSDmMkYsDik8s=
=HFFl
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanfs
Type: application/x-shellscript
Size: 818 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-dev/attachments/20040322/7b6fa2f1/attachment.bin>


More information about the blfs-dev mailing list