[Pkg-sysvinit-devel] Bug#558000: files left over in /tmp hidden by tmpfs

jidanni at jidanni.org jidanni at jidanni.org
Wed Nov 25 20:06:27 UTC 2009


Package: initscripts
Version: 2.87dsf-8
Severity: wishlist
X-debbugs-cc: debian-user at lists.debian.org
File: /lib/init/bootclean.sh

Maybe add a comment mentioning:
For those of you using e.g.,
    tmpfs /tmp tmpfs defaults 0 0
in /etc/fstab, this script (/lib/init/bootclean.sh) cannot be aware of
any files left on the original place where you mounted /tmp from that
day way back when you first started using tmpfs, using up disk space
all the way up till now, unnecessarily.

You can see if you have any such files by using
# umount /tmp
# find /tmp -mindepth 1
You could then remove them by hand, leaving of course /tmp itself.
Then put back the tmpfs
# mount -t tmpfs tmpfs /tmp





More information about the Pkg-sysvinit-devel mailing list