relocating /tmp to other media

Roland Smith rsmith at
Mon Nov 7 19:08:37 GMT 2005

On Mon, Nov 07, 2005 at 01:54:29PM -0500, Dave wrote:
> Hello,
>    I'm trying to run bitdefender on a 5.4 system. It works fine up until / 
> fills up, i'm having it scan a 40 gb smb mounted windows share and when / 
> fills specifically /tmp bitdefender cores out. My / filesystem on this box 
> is i believe either 130mb or 256mb, and this issue does not occur when 
> scanning a 20 gb drive. I was wondering if it's possible to relocate /tmp 
> to other media ramdisk, tmpfs, or the like?

If you have a partition with enough space (e.g. /usr); Create a
directory /usr/tmp. Drop into single user mode and move everything from
/tmp to /usr/tmp. Remove /tmp, and create a symlink /tmp to /usr/tmp.

R.F.Smith ( Please send e-mail as plain text.
public key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list