ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 174 forks source link

Wrong available disk space displayed #3881

Open MightyCreak opened 9 years ago

MightyCreak commented 9 years ago

Hi!

I've moved my SteamApps directory to another place on my SSD drive, and then created a symbolic link to this directory, like this:

cd ~/.local/share/Steam && ln -s /fastdrive/SteamApps

But now in Steam, when I want to install a new game, the available disk space is wrong. It shows the available disk space of ~/.local/share/Steam instead of ~/.local/share/Steam/SteamApps.

Here is the output of df -h for each directory:

$ df -h ~/.local/share/Steam/
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb5       827G  501G  284G  64% /home

$ df -h ~/.local/share/Steam/SteamApps 
Filesystem                    Size  Used Avail Use% Mounted on
/dev/mapper/fedora-fastdrive  172G   83G   81G  51% /fastdrive

I tried to chose a different directory in the dropdown list, but it says I don't have the rights, which is weird since the directory has more rights than ~/.local/share/Steam (755 vs 705). But well, that's another story.

jurf commented 6 years ago

Yeah, encountered this too, Steam should really df inside steamapps, not the parent directory, when installing games.

nanonyme commented 6 years ago

Just checking: so you did actually --filesystem=/fastdrive/SteamApps and link it inside the Flatpak container, right? (imo it's to be honest better idea to add it as a Steam library through client than to add symlinks)

jurf commented 6 years ago

In my case there were no symlinks involved, but it’s the same issue, symlink or not.

DDoctorzeus commented 1 year ago

For me I have 100GB less than is available (not sure if this is an intentional safety mechinism. No symlinks other than the default created one for $HOME/.steam/steam -> $HOME/.local/share/Steam . Not sure if this is an intentional "feature"..