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 > >"[EMAIL PROTECTED]" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"