[Dan Jacobson]
> 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.

Well, I am not quite convinced bootclean.sh is the best way to teach
basic file system skills. :)

> 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

A better way keeping /tmp intact in the process is to bind-mount / to
somewhere else and remove the files in /tmp/ that way.

Happy hacking,
-- 
Petter Reinholdtsen



_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

Reply via email to