You are not logged in.

#1 2023-10-15 07:35:28

Idiot
Member
Registered: 2023-10-15
Posts: 7

Is it ok to change the name of a drive mountpoint folder?

This is my first time posting a question on the Arch Linux Forums, so apologies if i accidentally do something that seems amateur or stupid, and if this question has been asked before or it seems like something i should already know without needing to use the forum, please let me know.

I am attempting to boot up a Steam game, specifically Forza Horizon 5, however doing so generates an error that states that the installation path is too long. In typical Microsoft fashion, pressing the "Help" button has no desirable effect. Since the game is made for Windows, the (for lack of a better term) virtual directory path that proton generates for the game ends up being too long. Specifically:

Z:\run\media\<USER>\1043b864-4f5f-4f32-9206-7479c4dab321\steam\steamapps\common\ForzaHorizon5

I tested the game on a drive with a shorter mountpoint, and it worked just fine, so is it possible to change the folder that corresponds with the drive from what it is now:

/run/media/<USER>/1043b864-4f5f-4f32-9206-7479c4dab321/

to something shorter, like for example:

/run/media/<USER>/<DRIVE_NAME>/

or would doing so damage the system beyond the reasonable point of trying to recover it? It makes sense that doing so would likely mess up any and all symlinks that are associated with the drive, but is there a way to change it while preserving the symlinks, if there is a way at all?

Last edited by Idiot (2023-10-15 07:36:56)

Offline

#2 2023-10-15 07:53:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: Is it ok to change the name of a drive mountpoint folder?

apologies if i accidentally do something that seems amateur or stupid

Like when you chose your nick? tongue

The mountpoint is chosen by udisks, you can either add an fstab entry for the disk UUID to add a specific mountpoint that - hopefully - gets honored by udisks or bind-mount the directory somewhere else - or indeed just smylink it somwhere else.
Any symlink that has previously explcitily targeted /run/media/<USER>/1043b864-4f5f-4f32-9206-7479c4dab321/ will continue to do so but i don't see which symlinks this would be or why this would be a problem.

Do not try to simply move/rename the directory after the mount.

Are you sure the lenght of the mountpoint is an issue and the game isn't just telling your some nonsense?
The directory path is only 69 chars (+/- some, depending on your actual user name)

Offline

#3 2023-10-15 08:41:26

Idiot
Member
Registered: 2023-10-15
Posts: 7

Re: Is it ok to change the name of a drive mountpoint folder?

The game only accepts directories that are 52 characters or shorter. Why it insists on checking this is beyond me. I've already tried symlinking the drive to a different directory, and while steam sees all the games in said symlinked directory, only three out of all of the games installed are actually shown as taking up space, all the rest are marked as taking up zero bytes. Even those three aforementioned games weren't showing as installed in the main library page.

Last edited by Idiot (2023-10-15 09:45:15)

Offline

#4 2023-10-15 13:09:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: Is it ok to change the name of a drive mountpoint folder?

while steam sees all the games in said symlinked directory, only three out of all of the games installed are actually shown as taking up space

Not sure whether that's related to the directory being a symlink, but that leaves you w/ an fstab entry or a bind mount.

Offline

Board footer

Powered by FluxBB