Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hello world,
what's the advantage of having more partitions (i.e. /usr, /var..etc) than just having /, /home and swap??
I will be the only one using my workstation so I like to know what's the best disk partition for me??
There are numerous advantages depending on the situation and how you use it.
Setting apart a partition for lets say /var has the advantage that an evergrowing spool file or log file can't occupy the entire disk, thus preventing a total hangup. There are alway free space for root-user to log in etc.
On a bigger networked system there are advantages like making a partition of the /usr directory and then mount it as read only to prevent malicious use to destroy anything. It also opens up the possability to export this directory using NFS so that multiple computers can share the same software without having to install it on all the machines.
I am wondering if there is any different between primary partition and logic partition?
I know that after the 4th disk partition will become logical partition, i.e.
Am I right that I should leave (/boot, /var, /) in the first 3 partitions (primary) and leave home directory last (logical) partition? or it doesn't really matter
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123
Rep:
i don't know the numbers for primary partitions and logical ones. I have 5 partitions in my disk, as i first intended, to use it as a dual boot for windows too.But as ugge said. the best thing is that u can take them apart , and keep them away from bad use. (from outside..... through Internet)
The IDE standard allow 4 partitions, all of the primary.
The need for more partitions led to the idea of turning one of these primary partitions into a container for a number of logical partitions.
The primary partitions are named 1-4, hda1...
Then the logical volumes are named with numbers from 5 and up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.