Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582286 - sys-fs/udisks: add USE flag for --enable-fhs-media
Summary: sys-fs/udisks: add USE flag for --enable-fhs-media
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Freedesktop bugs
Depends on:
Reported: 2016-05-06 15:53 UTC by ta2002
Modified: 2021-09-07 12:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2016-05-06 15:53:55 UTC
There were a lot of complaints when udisks moved the location of mounted media from /media/user/ to /run/media/user/ (and some distributions even created patches to back out this change).

Starting with udisks-2.1.5 there is a compilation option (--enable-fhs-media) to return the mounts to the FHS compliant location.

I believe this should be the default option, but if that is not acceptable, at the very minimum, it should be available via a USE flag.
Comment 1 Pacho Ramos gentoo-dev 2016-05-21 12:02:54 UTC
What are the problems with mounting things in /run instead of /media? :/

I must admit that I am a bit against changing the location each year and changing the location on each setup depending on a USE flag looks to me like a bit messy :|
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-05-21 17:07:50 UTC
I'm with Pacho here. If this needs to be changed at all, it should be done via configuration and not USE flags.
Comment 3 ta2002 2016-06-03 17:31:56 UTC
(In reply to Pacho Ramos from comment #1)
> What are the problems with mounting things in /run instead of /media? :/

1. /run has a lot of system stuff in it (which I would rather ordinary users looking for their mounts not see at all)

2. It violates the FHS standard

I would rather it be done via configuration (just add --enable-fhs-media to the compilation options), but just wanted to present a second option.
Comment 4 Pacho Ramos gentoo-dev 2021-09-07 12:57:39 UTC
At present time I think this is won't fix, we don't plan to make it configurable, neither revert to the old location