[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#558000: files left over in /tmp hidden by tmpfs



Package: initscripts
Version: 2.87dsf-8
Severity: wishlist
X-debbugs-cc: debian-user@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



Reply to: