jameskachan Posted January 30, 2014 Share Posted January 30, 2014 I love the eject and eject all command, great for external hard drives, of which I have a more than a few. I wish I could "Re-Mount" a drive with alfred rather than go thought Disk Utility. I'm sure it's possible, can anyone help me out with this? Thanks —James Link to comment
Tyler Eich Posted January 31, 2014 Share Posted January 31, 2014 This is definitely possible. I can't make a workflow this second, but I found an article on OS X Daily that may help other developers. Link to comment
MaximiliumM Posted February 2, 2014 Share Posted February 2, 2014 Have anyone solved your problem already? I don't think it's possible with EJECTED drives. When you eject your drive, it's not visible to the OS anymore. The only "solution" I've come across on the internet was this one: The only way to re-mount ejected external USB flash drives is to unload and load the USB mass storage kernel extension: kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext; kextload /System/Library/Extensions/IOUSBMassStorageClass.kext Be aware that this will re-mount ALL external USB drives As you can see, it'll re-mount ALL external USB drives. Maybe it won't work as you want. Another "solution": simply put your computer to sleep and then wake it up again. It's a great solution if you're feeling lazy, but it will obviously be faster to just unplug and re-insert your drive. Sorry Tyler Eich 1 Link to comment
MaximiliumM Posted February 2, 2014 Share Posted February 2, 2014 Oh, one more thing... If the drive IS listed on Disk Utility, then it's possible to re-mount it. "diskutil list" will show you all the drives currently mounted and unmounted. What you're looking for is something like "/dev/disk1s2" (it might be another number) Then the command diskutil mount /dev/disk1s2 will mount it again. I can create a Workflow that checks what drives are unmounted and then present a list so you can select one to mount. Not hard at all. But as I was explaining in the last post, you're not going to be able to re-mount EJECTED drives, only UNMOUNTED drives. jdevaud 1 Link to comment
Tyler Eich Posted February 3, 2014 Share Posted February 3, 2014 (edited) Ah, good point. I honestly didn't know there was much difference between an ejected volume and an unmounted volume Edited March 19, 2014 by Tyler Eich Link to comment
Sssascha Posted March 19, 2014 Share Posted March 19, 2014 I can create a Workflow that checks what drives are unmounted and then present a list so you can select one to mount. Not hard at all. But as I was explaining in the last post, you're not going to be able to re-mount EJECTED drives, only UNMOUNTED drives. Hi MaximiliumM, this would be great if you could do so. Thanks! Link to comment
jdevaud Posted May 7, 2016 Share Posted May 7, 2016 I searched for a downloadable workflow for what MaximilianM suggested, but didn't find one. Since I'm not someone who knows how the script, can someone point me towards a workflow I can download? Many thanks if someone can point me in the right direction. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now