Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Keyboard shortcut to mount eject drive
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JakeB80" data-source="post: 1780662" data-attributes="member: 378785"><p>Sure.</p><p></p><p>This command in terminal showed the disk I needed mounted.</p><p></p><p>diskutil list </p><p></p><p>Which was "disk1s2" in my case so I opened Automator and choose run shell script with no input. Then I used "diskutil mount /dev/disk1s2" and saved it.</p><p></p><p>Then I did the same thing with Automator and used "diskutil eject /Volumes/* to eject the drive and saved it. Then went into keyboard shortcuts and chose "services' in the left column and at the bottom of the list was the commands I saved with Automator. I choose "add shortcut" and choose the keyboard shortcuts I wanted.</p><p></p><p>My apologies if it isn't very clear. If there are any questions please feel free to ask. I'll try to answer the best I can. This was all new to me also.</p><p></p><p>Also, one of the reasons I wanted to have this setup is I use the extra internal drive as a scratch disk for Photoshop and really just wanted the drive running for that. So the way I have it setup now is I used Automator to set it up that when I use keyboard shortcut to open Photoshop, it also mounts the drive, then when I close Photoshop with the keyboard shortcut it ejects the drive.</p></blockquote><p></p>
[QUOTE="JakeB80, post: 1780662, member: 378785"] Sure. This command in terminal showed the disk I needed mounted. diskutil list Which was "disk1s2" in my case so I opened Automator and choose run shell script with no input. Then I used "diskutil mount /dev/disk1s2" and saved it. Then I did the same thing with Automator and used "diskutil eject /Volumes/* to eject the drive and saved it. Then went into keyboard shortcuts and chose "services' in the left column and at the bottom of the list was the commands I saved with Automator. I choose "add shortcut" and choose the keyboard shortcuts I wanted. My apologies if it isn't very clear. If there are any questions please feel free to ask. I'll try to answer the best I can. This was all new to me also. Also, one of the reasons I wanted to have this setup is I use the extra internal drive as a scratch disk for Photoshop and really just wanted the drive running for that. So the way I have it setup now is I used Automator to set it up that when I use keyboard shortcut to open Photoshop, it also mounts the drive, then when I close Photoshop with the keyboard shortcut it ejects the drive. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Keyboard shortcut to mount eject drive
Top