Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 582286

Summary: sys-fs/udisks: add USE flag for --enable-fhs-media
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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