Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 00:07:30 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: /tmp getting full form portmanager
Message-ID:  <90D12A48-2A57-4BB2-906F-E98AB21C070B@u.washington.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 Feb 7, 2007, at 9:32 PM, 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#
>
> clues please?
>
> Cheers,
>
> Noah

Like many things, when playing with a live filesystem your hands are  
pretty much tied. Booting into single user mode and remounting your /  
slice fixes that though ;).

-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90D12A48-2A57-4BB2-906F-E98AB21C070B>