Add --enable-fhs-media configure option to mount in /media instead of /run/media, for FHS compliance and backwards compatibility.
Usually /media is not a tmpfs, so make the "mounted-fs" state file persistant in this case.
https://bugs.freedesktop.org/show_bug.cgi?id=51709 http://bugs.debian.org/680403 https://launchpad.net/bugs/1020759
ae2a5ff Support mounting in /media for FHS compatibility
configure.ac | 13 +++++++++++++
src/udiskslinuxfilesystem.c | 18 ++++++++++++------
src/udisksstate.c | 17 +++++++++++++++--
3 files changed, 40 insertions(+), 8 deletions(-)
Upstream: cgit.freedesktop.org