Mount points to folders instead of partitions

Associate
Joined
29 Jan 2007
Posts
727
I'm installing MINT to a PC and it seems you can only redirect a single mount point to an entire volume/partition, not individual folders on a partition.

This seems a little strange. Surely you could have one partition containing a home and tmp folder, then mount /tmp and /home to those folders?

Can this be done during the install?
 
Last edited:
yup, you just have to go advanced/custom partitioning during the install where you set up the partitions yourself.

Thanks for the response.

But what about setting two mount points on the SAME partition containing the relevant folders - like I mentioned in the opening post.

I want one large partition containing two folders - tmp and home. I've found temp and home can become very large, so I want them both on one large partition rather than limiting space by giving them a partition each.

Then set the mount points for /tmp /home to point to those two folders on the one large partition.
 
This is where I always find the word "folder" misleading...

Am I barking up the wrong tree when I think you want the directories tmp and home in 1 partition by themselves?

Sorry to muddy the waters :(

That's exactly what I mean. :)

Yes in this case I mean folders = directory = drawers (if you use an Amiga). Why not chuck path in there too! :D

I think I explained it clearly, but my head may be warped! :D

As for tmp - it gets used to create some big files when I'm recording and burning, making albums and editing video etc. Files left in there aren't too bad once apps close down. But that's getting side tracked.

I just want to know if you can only have one mount point (a mount point being home, tmp, boot, etc) per partition when installing. Or can I specify two mount points on a single partition?

Basically I want (with sda1:, sda2: and sda3: being three separate partitions, not sure if these labels are right but bare with me)

Hard Disk 1 Partition 1 Mount Point = / (root)
PATH = sda1:

Hard Disk 2 Partition 1 = SWAP
PATH = sda2:

Hard Disk 2 Partition 2 Mount Points = /home AND /tmp
PATHS = sda3:home AND sda3:tmp
 
Last edited:
You may be right masterluke, in that I have to bind or create links after MINT is installed. I can't see a way of doing it beforehand as it seems 1 partition = 1 mount point for the file system. 1 partition can't hold 2 mount points on install.

I'm brand new to Linux, and learning fast. From what I can tell you have a single "File System" with a fixed layout that you seamlessly mount partitions to so they become part of this single root file system.

I just thought it strange you can have /tmp as sda2: and /home as sda3:, but NOT /tmp as sda2:tmp and /home as sda2:home. My thinking is a link is a link, so why is one allowed and the other not? It seems a mount point has to have root access to a partition and can't be pointing to a folder/directory on the partition.

In Windows, we tend to move folders outwards to different locations by using separate drive letters and paths in the registry. In Linux, it seems we move root partitions to the "file system".
 
Last edited:
Thanks for the advice Fourstar and the rest of you guys.

I just wanted to know what is and isn't possible.

I'll have a read and play around with moving some mount points.
 
Back
Top Bottom