My Profile

Keep Up to Date:
Blog RSS
Blog
Forum RSS
Forum
Post New Topic Post Reply
Posted 4 Months ago
pranav
Senior Boarder
Posts: 73
graphgraph
User Offline
 
OK, somebody needs to knock me with a clue-by-four, because I cannot snap out of one my deeply ingrained windows-mode thinking patterns.

It's about partitions and mounts. In the Windows world, we usually take a large drive and create a single drive-spanning partition. This seems to be discouraged in Linux. What I've been reading in TFM says to start out with a root partition that is big enough to get everything you need in, and then you add partitions later on. I am seriously stuck on this.

See, in the Win world, we tend to think in terms of directories. So if you need space, and you add a drive with that single drive-spanning partition, you end up with a new drive letter and you copy some data directories over and it is fairly painless.

I am trying to imagine what the route for this is in Linux. I've got some mental block preventing me from seeing how I might create a new partition of say 20Gig and move /home and /var and maybe /usr onto that partition. Would prefer to keep them together on one partition cuz I cannot see into the future what their sizes will be, and I also do not want to divide up usuable space into three partitions.

So does my question make sense? How would you divide an existing root partition into two or more, putting two or three top-level directories into each one? Or, what is the proper way to accomplish the same thing if you are not supposed to do it that way.

Put into the reverse, what if I wanted to put three or four directories together into a single partition of fixed size, like /bin, /sbin, etc. Or is this a violation of SOP?

Would this work:

Original Partition New Extra Partition
The administrator has disabled public write access.
 
Copyright © 2006 - Dec 2008 My Linux Gang