Personal directory distributed over several physical disks

March 12, 2020 - How to split your home directory in several disks instead of having a bunch o units visibly mounted on your file manager.

Someone may say that it is a symptom of OCD, but the fact is that I do not like having disk drives visible in the file browser. Point! I also do not like having a separate disk to store other things and that remain outside my home directory.

What I like is being able to use the directories that are pre-configured for each user: Documents, Downloads, Images, Public, Music, Videos.

When you have a single disk on your computer, it is very simple:

But when you have multiple albums that’s when things start to get a little disorganized. It is possible to use a whole disk for the system (the small one) and the rest for the home (the big one). But if the system disk is big, having all that space dedicated to / would be a waste, then we also put home there:

But in this case, the partition (s) of Disk 2 appear in the file browser, as something apart. I do not like it, it seems out of place, I will also store my files there, they should be below /home/<user>.

In that Disc 2, the extra, maybe we put what is “not essential”: Images, Music and Videos. With this situation I started to think about alternatives and I came to:

Settings in /etc/fstab to mount in /home//Media

In Media then I put the directories Images, Music and Videos. But it seemed unnatural to me to have to go to another directory to get to music, videos, etc. Something better should be able to do.

Settings for personal directories on LxQt

After thinking a bit, I came up with the schema I’m currently using:

New settings por personal directories

In this way, and using symlinks, the traditional file structure of a home remains, distributed between 2 physical disks.

Result