Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72883 - [filesystem] add /media as directory

Attached to Project: Arch Linux
Opened by Jelle van der Waa (jelly) - Tuesday, 30 November 2021, 12:08 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 07 December 2021, 07:24 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To S├ębastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

FHS defines /media as a "required" directory. [1] And it is for example required for the cockpit tests and maybe other software. [2]



[1] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
[2] https://github.com/cockpit-project/cockpit-machines/pull/466#discussion_r759124330
This task depends upon

Closed by  Jelle van der Waa (jelly)
Tuesday, 07 December 2021, 07:24 GMT
Reason for closing:  Won't implement
Comment by nl6720 (nl6720) - Wednesday, 01 December 2021, 09:12 GMT
Didn't /media die when udisks moved its mounts to /run/media/$USER/?
As for FHS: https://wiki.archlinux.org/title/Frequently_asked_questions#Does_Arch_follow_the_Linux_Foundation's_Filesystem_Hierarchy_Standard_(FHS)?

One other software that uses /media is virtualbox-guest-utils, for automounts. But it's capable of creating the /media directory itself.
Comment by S├ębastien Luttringer (seblu) - Tuesday, 07 December 2021, 01:15 GMT
/media was removed from filesystem in November 2012.

We do not comply with FHS in several area (missing directories like /etc/opt or /media, sub-directories in /bin, /lib/cpp, etc).
I don't know what we would gain by supporting this standard that doesn't really evolve with the modern linux ecosystem and that would force us to drag out old stuff.

I suggest lsb-release as a better package to comply harder with LSB stuff like FHS, or put /media directly in the demanding package.
Comment by Jelle van der Waa (jelly) - Tuesday, 07 December 2021, 07:24 GMT
Sounds good to me.

Loading...