Fedora and USB disks going into /run/media/user
As part of systemd/DBus revolution, newer Fedoras have this annoying feature that all USB disks get mounted into to /run/media/[user]/[diskname] (also /var/run/media, which is a symlink).
[…]
To return old behavior back and make udisks2 change mount point to /media, create a file /etc/udev/rules.d99-usb-shared-media.rules:
ENV{ID_FS_USAGE}=="filesystem", ENV{UDISKS_FILESYSTEM_SHARED}="1"
udev should notice and read this file automatically. After this, just unplug and plug your USB drive back to see it in good old /media.
It was done in Fedora 18
… and is completely useless IMO. Moreover, why we need another root daemon when this stuff could be easily done from a script inside udevd.
Fedora developers time to time doing that :) So, I’m not surprised. Just spent some time to find my mounted USB in the console once I didn’t find it in the /media
FYI, if you didn’t read it, my blog post above shows how to return old behavior. :) It broke my Samba and instead of watching a movie on TV I spent that time to figure out what the heck is going. Of course apart from that, Samba had changed its configs syntax and I decided not to kick out SELinux this time. :)
Oh, Samba … I remember upgrading a Fedora 8 machine to Fedora 19 a few month back … Jumping over every 2 releases, Samba was pretty much the only thing that I had to fix every time. :)
I presume you just switched off SELinux ;-)
Yup. But there were also quite a few changes to the Samba config files through the time.