I want to have a bigger /tmp. As far as I understand, the default is handled by systemd. Now I could either disable the systemd service and add a line to fstab, or I could change the systemd service.
What is the recommended way of doing this? Are there advantages/drawbacks?
/tmp is a regular folder that is inside your root partition / as long as you did not create an own partition for it. If you created a specific partition for it, you need to resize it. If it is in / it can be as big as your / partition has free space
By default, a tmpfs partition has its maximum size set to half of the available RAM, however it is possible to overrule this value. To explicitly set a maximum size, in this example to override the default /tmp mount, use the size mount option.
So am I not right that /tmp is in the RAM by default?
The issue I’m facing is, that I want to compile the tkg kernel, and use /tmp as the folder to build in. However, this fails due to insufficient storage size.
This should be the real topic title (and question), while now it seems like an xyproblem.
You can use /var/tmp for larger disk space temp usage, or any other custom folder.
I suppose it must be possible to configure your temp folder path for your compilations…(?)