Obviously what folders are you talking about first… We’re not in your head so when you talk about something make sure we can understand what you’re talking about.
I am trying to ensure that my hard drive folder is the default installation folder
So: run/media/me/harddriveuuid/SteamLibrary
Every time I restart, that path is deleted from my download settings on Steam, and it goes back to my Steam folder under home.
OK it is not standard folder then.
Make sure your disk is mounted before you run Steam. If it is not auto mounted, or manually mounted, of course Steam will not be able to use it because it doesn’t exist.
I think the issue is that you don’t have that HDD automounted. I had to add mine to /etc/fstab
.
I created a folder in /mnt
called Games and I made my HDD mount to /mnt/Games
(as that HDD was for games only) and SteamLibrary folder is in there.
How could I manually add the drive to etc/fstab?
In the wiki is some info about fstab:
https://archived-wiki.manjaro.org/index.php?title=Fstab
Personally I used Gnome Disks for this, but I don’t recommend it because you will not learn anything from it.
- Make a folder in
/mnt
with whatever name you want, lets say “HDD2” for now. - Use
sudo blkid
to find the UUID of your drive or partition sudo nano /etc/fstab
- Input:
UUID=<your UUID> /mnt/HDD2 ext4 defaults 0 0
- Save
Now it should automount to /mnt/HDD2
every time you boot into your computer.
If you don’t know what the above fstab stuff means, here is an example:
# <device> <dir> <type> <options> <dump> <fsck>
UUID=0a3407de-014b-458b-b5c1-848e92a327a3 /mnt/HDD2 ext4 defaults 0 0
So say if I download games, will it take up twice the space, or is it more of a link to the drive that can be accessed?
or is it more of a link to the drive that can be accessed?
All it does is auto mounts your HDD to a specific folder instead of self generating a folder in /run
every time.
run/media/me/harddriveuuid/SteamLibrary
So the files won’t necessary take up space in /mnt?
No, it only takes up space in that hard drive that is mounted to the specific folder.
It’s similar to some people having a /home
partition. You mount the partition or another HDD to /home
, so it only takes up space in /home
, it doesn’t take up space of the HDD or partition containing that mounts /
.
Or if you have a partition mounted to /boot/efi
. It doesn’t take up space in /
or /boot
.
So, i just put the /mnt folder in my Steam downloads, then the client downloads my files into the folder where the UUID is (HDD), rather than my SSD. Am I correct on this?
/run is a temporary folder that will be reset at each reboot. It’s a Linux feature.
Check also this:
Difficulty: ★☆☆☆☆ Disk device recognition Manjaro uses udev (see Arch Wiki) to load devices at boot time. The loading of devices is arbitrary and therefore you cannot predict which device will be available at a given path. But static device names do exist and you can assign specific locations to your device and thus ensure e.g. scripts will work as expected. What to learn Overview of system mount units Structure and Content of a mount unit Mount at boot (immediate mount) Mount on demand (mou…
So, i just put the /mnt folder in my Steam downloads, then the client downloads my files into the folder where the UUID is (HDD), rather than my SSD. Am I correct on this?
You put /mnt/HDD2
to your Steam downloads, make that your primary (in Steam), and it should generate “SteamLibrary” folder, and all your games will download into /mnt/HDD2/SteamLibrary
iirc. I haven’t done it in a while since I already have Steam setup on my 3 computers years ago.
(change HDD2 to what you want)
So, just a general question. How does that work? I’m pretty new to Manjaro and Linux in general.
How does that work?
I don’t understand this question. How does what work?
So does the mnt folder lead the files to the hard drive when you download them? Or is there something else?
Maybe it’ll be easier for you to understand this:
Think /mnt/HDD2
to be your D:\
drive on Windows. So on Windows, that HDD is mounted to the D:\
“folder”. Even in Windows, you can assign your HDDs to different letters. Whereas your main drive is C:\
.
On Linux, you can technically make your HDD mount to any folder you want. Even if it’s /home/thisfolder/thatfolder/thisone/HDD2
But as long as it links to the HDDs UUID, it works similar to Windows D drive?