11 years, is that a record?
Seem like it.
Kitarek, please let dead topics rest in peace.
https://wiki.archlinux.org/index.php/Fo … bumping.22
Closing.
]]>i usually make a large partition to do dirty work like things that change alot. the /var directory sounded like the a perfect place to store temporary files like /tmp and doing kernel rebuilds.
take the /var/tmp directory and symbolic link it to / (root) as /tmp. i also put the /usr/src directory into /var and linked it back to /usr. that is where i do software builds along of cource kernel builds.
i also believe that the /usr and / partition don't get fragmented as much this way.
take that silly tmpfs thing out of fstab.
i know this isn't kosher to the linux folks and there directory laws, but that is why i use linux.
freedom of choice .
slyski
]]>tmpfs /tmp tmpfs size=2G,nr_inodes=10k 0 0
Then remount it:
# mount -o remount /tmp
Be careful with the size, though. Since it exists in RAM, you don't want a tmpfs partition to be bigger than your RAM, otherwise the big bad OOM killer will come along and start assassinating your processes.
]]>thx
]]>thx
]]>If ou really want /tmp to be big, you could always not mount /dev/shm in /tmp .
]]>Is there a way to re-direct /tmp to another partition (like from within fstab), or increase the size of my swap file? I'm afraid my PC wont boot if I guess wrong on the swap file configuration.
thx
]]>