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.
For me, I find that separate /home and /root partitions are all I need. Everything else goes into /.
On my terabyte disk, / gets 100 GB, /root gets 150 GB, and /home gets all the rest (except for 150 GB dedicated to a Windows partition).
I'm actually thinking of shrinking the / and /root partitions because Slackware simply doesn't take that much space and I seldom have much except tarballs in the /root directory.
That's what mine looks like at the moment (ignore the silly size of /boot. It's that big for historic reasons)
Plenty of room left in the vg to expand any lvs when they need it. Trick to running with lvm is to not allocate everything at the start. Keep the space back and add it to your lvs as needed.
When I next get around to reworking it I'll most likely merge both /usr and /opt back into '/' but keep the rest the same.
There's no right answer though. it's all personal preference.
I don't get too fancy myself. On any linux install besides a swap partition I go for a / and /home
only generally in the proportion of 30%/70% respective of disk space.
I always keep an empty partition of the same size a my / partition. That way when a new version comes along I can do a fresh install and get it fully working before I swap over to my "working" system. i.e. / for 13.1 is currently sda3 for 13.0 it was sda1 and for 13.2/14.0 it will also be sda1. This way I always have a fully working backup system (as long as I don't get a hardware failure - then I have to use the XP laptop - yuch!).
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
I do it this way so I can do a clean install of a new release without having to copy everything off to another server or back up media (I just don't format the non-root partitions when doing the fstab part of the installation -- saves a whole lot of time and trouble):
I know, having sub-directories in / violates LSB or posix or whatever, but I'm lazy. I had mp3, video and stuff in /usr/local/ some time ago, but soon I got tired and symlinked to /, and eventually just ended up mounting them directly at the root.
And another thing, since guanx mentioned sectors. I wasn't aware that some sections were more likely to get corrupt, but the seek-time in the other region of the plate is less then on the inner part. Before I changed to SSD, I always had /home at the end.
I agree with the people above: it's whatever floats your boat. For my own computer, I see no reason to separate / from /home, since instead of preventing one partition from overflowing, now I have to watch two, or three, or whatever, and space gets wasted at the same time. What I found really useful, though, is having at least two similarly sized partitions around, both ready for a GNU/Linux install (e.g., ext3 or ext4). The spare one can be used to test and possibly migrate to a different distribution, and also serves as a place for large temporary files (my Downloads folder links to that). Right now I actually have them on two different hard drives, which really simplified my last Ubuntu -> Slackware migration.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.