1

I want to divide my user files like Music, Documents and the others from my application settings and config files (all the hidden folders in home) and put the settings and configs on my system SSD, while my user files remain on my bigger HDD.

What mount point should I use to achieve that? Or is there any other way to get this done?

edwinksl
  • 24,109
JPS
  • 119

1 Answers1

1

You will need 2 partitions (plus swap partition on your HDD - why?).

  • HDD:

    Make an ext4 formatted partition and use it as directory root (mount point /). This will contain all stuff that is not outsourced to another partition, including /home.

  • SSD:

    Make a partition formatted in ext4 (recommended if your data shall only be readably by Linux systems on the same computer), NTFS (if you want to share the partition with Windows systems) or FAT32 (best compatibility with all systems, but severe restrictions like max. 4GB per file) and use it as external data partition with a custom mount point (e.g. /data would be a suitable mount point). On this partition, you can create all folders you need, like Documents, Pictures, Videos and so on.

After having set up the partitions, move all your already existing data files from the current data folders in /home/USERNAME to the respective folder in /data. Then delete the folders in your home directory which you want to replace.

Now you make a symbolic link in your home directory to each folder in /data, e.g. using a command like this (replacing the folder names with your correct values):

ln -s /data/Documents ~/Documents

After this, all your data folders that were originally located in your home directory are now just symlinks to the real folders on your secondary partition on the HDD which you have mounted at /data.

Byte Commander
  • 110,243