[SOLVED] What to put on an empty partition - please advice.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry for bother all you again but reading your last post I couldn't stand it.
With ncdu you can see the files that use more space. You know.
Maybe an option will be mount that empty space as /opt and install some tools or repositories or games or files that use lot of space on /home and you can leave on /opt forever and don't touch it to much.
Yes, I have considered mounting as /opt for extra data or temporary storage. Once there was and /extra partition in an older setup, and I also used /win ntfs partition a few times for shared files But using it as /swap would be waste, since there is plenty of memory at this stage.
Try to work in ram whenever possible with tmpfs on /tmp for example.
I don't really agree with one single partition because you can't reinstall system / whiteout losing /home. For me you have the correct partitions. So If you plan to have only one partition make some backups of you important data.
You can take 5G from / and leave 25G if no plan to install too more applications.
Swap about 10% of the ram.
Then the rest on /home.
So in a 80~100G disk. 300~500Mb on boot. 20% or 25% for / an 75%~80% for home. Then if you have 8~16G of ram 1~1.5G Swap.
But this depends on your preferences. If you need the maximum space possible, so as not to leave anything unused in /, I would put /boot separate and a partition for everything but making backups.
Hope that help.
Edited: u > you . Sorry. Bad habit.
For /tmp I often use this line in /etc/fstab :
tmpfs /tmp tmpfs defaults,size=5g,nr_inodes=1m 0 0
The size is half the swap size. In this example I have 10Go of swap.
/tmp can grow a lot and in your case it is taken from /. With tmpfs it is cleaned on every reboot.
/var can grow only if you have big spoolers like a lot of printings and needs more to be permanent. It takes time to grow and can be cleaned (/var/log and /var/spool for example).
There are 4 cases:
you have a disk full (or similar) on a partition (/var, /tmp, or whatever) or there is a tool/app which needs a lot of disk space. In that case you can dedicate a partition to that to avoid disk full on /root or on any other partition.
There is no such issue, nothing to solve.
As a practice you can play with /home, /var, /opt, /tmp or any other dir to put them into a new partition, but if everything works as expected is it not necessary.
In general using swap is recommended even if you think it is useless (it is never useless), that can be a goal too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.