Last active
June 20, 2017 13:30
-
-
Save TomTasche/fe42207c3c851bc46b3e1f1c09e0faa3 to your computer and use it in GitHub Desktop.
do not automatically mount apple devices in ubuntu (fix for mounting iphone in mac-guest in vmware)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if you're running mac osx inside a vmware virtual machine, mounting an iphone into it can be cumbersome because ubuntu always claims the device for itself. | |
# sometimes it still works to mount it into the vm, but most of the time it doesn't. | |
# to fix that we simply never mount apple-devices on our ubuntu host, so that vmware is able to claim them for the guest. | |
# this ignores all apple usb-devices on your ubuntu host! | |
echo 'ATTRS{idVendor}=="05ac", ENV{UDISKS_IGNORE}="1"' | sudo tee /etc/udev/rules.d/100-local.rules | |
sudo udevadm control --reload-rules && sudo udevadm trigger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i don't know why, but you have to run that last command again every time you reboot your host