In article <[EMAIL PROTECTED]>, Vebjoern Forsmo <[EMAIL PROTECTED]> wrote: >> > Several programs seems to prefer /tmp over /var/tmp. >> /tmp should probably be a symbolic link to var/tmp . > >I too thought about doing it this way, but I'm a bit unsure about what >happens if the partition /var/tmp resides on can't be mounted? (Are there >any important programs that depend upon /tmp?)
A nice solution is to boot into single user mode, umount /var, and do the following: mkdir /var/tmp chmod 1777 /var/tmp rmdir /tmp ln -s /var/tmp /tmp Now there is a /var/tmp directory. When you mount the real /var "over" it you won't see it anymore but it will be there if /var can't be mounted. The only thing you have to watch for is that you don't put any junk in it when you are working with /var unmounted; you can't get to it anymore to cleanup as soon as you have mounted the real /var over it. (It _is_ an ideal place to hide stuff, though :)) Mike. -- + Miquel van Smoorenburg + Cistron Internet Services + Living is a | | [EMAIL PROTECTED] (SP6) | Independent Dutch ISP | horizontal | + [EMAIL PROTECTED] + http://www.cistron.nl/ + fall +