|
|
|
This is my first encounter with FreeBSD.
I use FreeBSD 12.1 on a Rasberry Pi 3B+ (wrote the image onto a memory card using dd, later installed some more software using pkg install). I still have plenty of spacce on /, but I quickly run out of space on /tmp when using the system. Is there an easy way to have a bigger /tmp? Philipp |
|
|
On Fri, 29 Nov 2019 11:40:27 +0100, Philipp Klaus Krause wrote:
> This is my first encounter with FreeBSD. > I use FreeBSD 12.1 on a Rasberry Pi 3B+ (wrote the image onto a memory > card using dd, later installed some more software using pkg install). > I still have plenty of spacce on /, but I quickly run out of space on > /tmp when using the system. > Is there an easy way to have a bigger /tmp? Two things. 1) If you have space for another partition, set that up using newfs and mount it on /tmp, editing /etc/fstab to make it persistent. If you don't, consider using dd to copy the whole SD card to a bigger one, then you'll be able to do this anyway. 2) See if one or two programs are using the space. Have a look to see how to make them use somewhere else. This could be via an environment variable (e.g. TMPDIR, but it varies), in which case add that to .profile or .login or whatever your shell uses. Or it could be via a command line flag, in which case add it as an alias. |