Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 08:26:12 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Noah <admin2@enabled.com>
Cc:        Garrett Cooper <youshi10@u.washington.edu>, freebsd-questions@freebsd.org
Subject:   Re: /tmp getting full form portmanager
Message-ID:  <20070208132612.GA25286@gizmo.acns.msu.edu>
In-Reply-To: <45CAB605.1070901@enabled.com>
References:  <45CA6413.6000400@enabled.com> <20070207193234.BFA4.GERARD@seibercom.net> <45CA7215.7030004@enabled.com> <45CA9854.7040903@u.washington.edu> <45CAB605.1070901@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 07, 2007 at 09:32:53PM -0800, Noah wrote:

> 
> 
> >
> >From rc.conf(5):
> >
> >     clear_tmp_enable
> >                 (bool) Set to ``YES'' to have /tmp cleaned at startup.
> >
> >Why not setup a parallel (background) task with a wrapper script to 
> >delete some files when upgrading ports? Either that or find a (more) 
> >free partition and symlink /var/tmp to it.
> >
> 
> 
> yeah out of all the ideas this seems the easiest to implement and just 
> makes sense but I am having difficulties creating the sym link for /tmp
> 
> ns1# df -k
> Filesystem  1K-blocks    Used     Avail Capacity  Mounted on
> /dev/ad0s1a    507630  163076    303944    35%    /
> devfs               1       1         0   100%    /dev
> /dev/ad0s1e    507630      -6    467026    -0%    /tmp
> /dev/ad0s1f 150732286 7152956 131520748     5%    /usr
> /dev/ad0s1d   2011694  129230   1721530     7%    /var
> ns1# umount /dev/ad0s1e
> umount: unmount of /tmp failed: Device busy
> ns1#

Probably several processes have something open in /tmp.
Anyway, you must not be CDed to /tmp to unmount it.  And
if there are other processes with something open, they will
have to be dealt with.   Probably the easiest thing is to
just go to single user and only mount root and the filesystem
where you intend to put the extra large /tmp - I think you 
mentioned /var/tmp.

Then do:    /ln -s /var/tmp /tmp

////jerry

> 
> clues please?
> 
> Cheers,
> 
> Noah
> 
> 
> 
> 
> >-Garrett
> >_______________________________________________
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"freebsd-questions-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070208132612.GA25286>