{"id":594,"date":"2008-10-16T13:22:54","date_gmt":"2008-10-16T18:22:54","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=594"},"modified":"2008-10-17T12:31:33","modified_gmt":"2008-10-17T17:31:33","slug":"pimp-your-removable-devices-with-unique-names-automount-and-autorun","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2008\/pimp-your-removable-devices-with-unique-names-automount-and-autorun\/","title":{"rendered":"Pimp your removable devices with unique names, automount, and autorun"},"content":{"rendered":"<p>I want to plug my 8GB-SDHC-card-in-a-USB-adapter in, and immediately be able to add and remove files to it.  With a little digging in, I got the job done.  This is going to make my life a LOT easier.  Now I can trigger any action I want for every single device I plug in to my boxxen.  Sweetness.<\/p>\n<p>I use gentoo, but this should apply to any modern linux distribution.  With a less hands-on distribution like Ubuntu, everything should be already done for you, but you still might want to dig in here to see what&#8217;s going on under the hood.  Also, there&#8217;s a LOT of outdated material out there, as this stuff has been hammered out over the years.  So without further ado, here&#8217;s an up-to-date summary to get you up to speed fast:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.thedigitalmachine.com\/wiki\/index.php\/Udev:_Assign_unique_names_to_your_devices\">udev: Assign unique names to your devices<\/a><\/li>\n<li><a href=\"https:\/\/www.thedigitalmachine.com\/wiki\/index.php\/Automatically_mount_and_unmount_your_devices\">Automatically mount and unmount your devices<\/a><\/li>\n<li><a href=\"https:\/\/www.thedigitalmachine.com\/wiki\/index.php\/Udev:_Autorun_programs_when_connecting_your_devices\">udev: Autorun programs when connecting your devices<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I want to plug my 8GB-SDHC-card-in-a-USB-adapter in, and immediately be able to add and remove files to it. With a little digging in, I got the job done. This is going to make my life a LOT easier. Now I can trigger any action I want for every single device I plug in to my [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[10],"tags":[],"class_list":["post-594","post","type-post","status-publish","format-standard","hentry","category-tricks-tips-tools"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-9A","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=594"}],"version-history":[{"count":10,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/594\/revisions"}],"predecessor-version":[{"id":616,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/594\/revisions\/616"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}