Fedora and USB disks going into /run/media/user

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.

7 thoughts on “Fedora and USB disks going into /run/media/user”

Leave a Reply to Leonid MamchenkovCancel reply