{"id":20213,"date":"2014-02-03T11:34:55","date_gmt":"2014-02-03T09:34:55","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=20213"},"modified":"2014-02-03T11:34:55","modified_gmt":"2014-02-03T09:34:55","slug":"fedora-and-usb-disks-going-into-runmediauser","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2014\/02\/03\/fedora-and-usb-disks-going-into-runmediauser\/","title":{"rendered":"Fedora and USB disks going into \/run\/media\/user"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"http:\/\/www.hazard.maks.net\/blog\/index.php?op=ViewArticle&#038;articleId=352&#038;blogId=1\">Fedora and USB disks going into \/run\/media\/user<\/a><\/p>\n<blockquote><p>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).<\/p>\n<p>[&#8230;]<\/p>\n<p>To return old behavior back and make udisks2 change mount point to \/media, create a file \/etc\/udev\/rules.d99-usb-shared-media.rules:<\/p>\n<p><code>ENV{ID_FS_USAGE}==\"filesystem\", ENV{UDISKS_FILESYSTEM_SHARED}=\"1\"\u00a0<\/code><\/p>\n<p>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.<\/p><\/blockquote>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>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). [&#8230;] 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}==&#8221;filesystem&#8221;, ENV{UDISKS_FILESYSTEM_SHARED}=&#8221;1&#8243;\u00a0 udev should &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2014\/02\/03\/fedora-and-usb-disks-going-into-runmediauser\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fedora and USB disks going into \/run\/media\/user<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,133,62],"tags":[2351],"keyring_services":[],"class_list":["post-20213","post","type-post","status-publish","format-link","hentry","category-general","category-linux","category-sysadmin","category-technology","tag-fedora-linux","post_format-post-format-link"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":11954,"url":"https:\/\/mamchenkov.net\/wordpress\/2009\/11\/29\/fedora-12-and-intellibook-rtl8187se\/","url_meta":{"origin":20213,"position":0},"title":"Fedora 12 and IntelliBook (rtl8187se)","author":"Leonid Mamchenkov","date":"November 29, 2009","format":false,"excerpt":"I recently got my hands on an IntelliBook netbook (site in German, but the machine is actually Clevo M810L).\u00a0 It's a really small, light, and simple machine, which I got for nothing, and which, I haven't got it for nothing, would cost me around 400 EUR.\u00a0 The truth is, if\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"intellibook","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2009\/11\/intellibook.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7516,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/05\/20\/first-brief-impressions-of-fedora-linux-core-2\/","url_meta":{"origin":20213,"position":1},"title":"First (brief) impressions of Fedora Linux Core 2","author":"Leonid Mamchenkov","date":"May 20, 2004","format":false,"excerpt":"I've upgraded my office workstation from Fedora Linux Core 1 to Fedora Linux Core 2 today. I had only about an hour to play with it, so no super review here. The upgrade process was very similar to most of the previous Red Hat Linux versions. No surprise. Fedora Linux\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26252,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/07\/18\/test-your-backups\/","url_meta":{"origin":20213,"position":2},"title":"Test your backups!","author":"Leonid Mamchenkov","date":"July 18, 2016","format":false,"excerpt":"You can read all the books in the world and know all there is to know, but if you don't follow the wisdom and practice the knowledge, then it's all useless. \u00a0That's my lesson from yesterday. The Tao of Backup, which I linked to before, says: So, what happened? \u00a0Well,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"backup testing","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/07\/backup-testing-500x366.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7900,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/12\/now-i-have-a-scanner\/","url_meta":{"origin":20213,"position":3},"title":"Now I have a scanner","author":"Leonid Mamchenkov","date":"September 12, 2004","format":false,"excerpt":"My brother brought me a scanner - Epson Perfection 1250. I will be scanning lots of pictures from my (and Olga's for that matter) college years. It is time to digitize all those numerous photo albums. I was surprised how easy it was to install and configure the scanner. It\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9974,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/15\/looking-for-a-notebook\/","url_meta":{"origin":20213,"position":4},"title":"Looking for a notebook","author":"Leonid Mamchenkov","date":"March 15, 2006","format":false,"excerpt":"I've never particularly liked notebooks. They are clumsy, uncomfortable, hot, slow, weird, and hard to fix or upgrade. And expensive, of course. But circumstances are changing now in such a way that I'll need to have a notebook pretty soon. We can't manage on a single computer nomore, and there\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12655,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/06\/29\/day-in-brief\/","url_meta":{"origin":20213,"position":5},"title":"Day in brief","author":"Leonid Mamchenkov","date":"June 29, 2010","format":false,"excerpt":"I favorited a YouTube video -- Fedora 13 Goddard http:\/\/youtu.be\/KbCO0jT6L3Q?a # Somehow nobody realized that one of the vital company servers runs on 1GB of RAM. And it's an old 1.6 dual-core machine, staffed with disks. # I need a #wordpress plugin to send newsletter using posts of specific category.Subscribe\/unsubscribe\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/20213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=20213"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/20213\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=20213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=20213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=20213"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=20213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}