/tmp getting full form portmanager

Garrett Cooper youshi10 at u.washington.edu
Thu Feb 8 08:07:35 UTC 2007


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


More information about the freebsd-questions mailing list