{"id":61,"date":"2010-10-07T15:39:33","date_gmt":"2010-10-07T13:39:33","guid":{"rendered":"http:\/\/svalgaard.net\/jens\/blog\/?p=61"},"modified":"2011-01-18T13:14:09","modified_gmt":"2011-01-18T12:14:09","slug":"make-external-drives-mount-at-mac-boot","status":"publish","type":"post","link":"https:\/\/svalgaard.net\/jens\/blog\/2010\/10\/make-external-drives-mount-at-mac-boot\/","title":{"rendered":"Make external drives mount at Mac boot"},"content":{"rendered":"<p>Sometimes it is nice to make external drives mount at boot (and not only when a user logs in) on your mac.<!--more--> This e.g., useful if you have an external USB drive on your Mac Mini that you want to use for Time Machine Backup from other macs without somebody are necessarily logged in on the Mac Mini.<\/p>\n<p>To make drives mount at boot, you simply run the following command:<br \/>\n<code>sudo defaults write \/Library\/Preferences\/SystemConfiguration\/autodiskmount AutomountDisksWithoutUserLogin -bool true<\/code><\/p>\n<p>For more information, see <a href=\"http:\/\/hints.macworld.com\/article.php?story=20031103155828117\">here<\/a>.<\/p>\n<p>Bonus information:<br \/>\nIn some cases it is nice to have the external drive mount somewhere else than in \/Volumes, see <a href=\"http:\/\/hints.macworld.com\/article.php?story=20060930150059172\">here<\/a> for more details on how to do this. Basically you create an \/etc\/fstab file (using the command vifs) containing:<br \/>\n<code>#<br \/>\n# Warning - this file should only be modified with vifs(8)<br \/>\n#<br \/>\n# Failure to do so is unsupported and may be destructive.<br \/>\n#<br \/>\nUUID=10B21892-C061-3B8F-84BD-DE8BC1B0C6BC \/Storage\/Backup hfs rw<br \/>\nUUID=E7C208DA-63E9-39EC-B7B9-E63C6A2B92E4 \/Storage\/Extra  hfs rw<\/code><\/p>\n<p>where the UUIDs are taken from diskutil info.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes it is nice to make external drives mount at boot (and not only when a user logs in) on your mac.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-mac"],"_links":{"self":[{"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":6,"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions\/75"}],"wp:attachment":[{"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/svalgaard.net\/jens\/blog\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}