Skip to content

pv-wrap-home: Share common removable media locations by default

Simon McVittie requested to merge wip/smcv/task149-media into master

Part of steamrt/tasks#149


Users of games and frameworks that load files generically (such as Retroarch) or store large files outside Steam's control (such as the post-2020 version of Microsoft Flight Simulator) often expect to be able to access files on removable media. This is particularly true when running on hardware with limited built-in storage capabilities, such as lower-end models of the Steam Deck.

Subdirectories of /media are the FHS mount point for removable media, and also commonly used for non-removable, non-system partitions (such as /media/windows on a dual-boot system). Notably, this is the default mount point for udisks2 in Debian/Ubuntu.

Subdirectories of a user-specific directory in /run/media are a non-FHS location used by default in various distributions, notably Fedora, Arch and the Steam Deck.

/mnt is mostly a legacy temporary mount point, but is sometimes used.

Helps: https://github.com/ValveSoftware/steam-runtime/issues/334
Helps: https://github.com/ValveSoftware/steam-runtime/issues/393
Helps: https://github.com/ValveSoftware/steam-runtime/issues/429
Helps: https://github.com/ValveSoftware/steam-runtime/issues/470

Edited by Simon McVittie

Merge request reports