Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
do not automatically mount apple devices in ubuntu (fix for mounting iphone in mac-guest in vmware)
# 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
@TomTasche

This comment has been minimized.

Copy link
Owner Author

@TomTasche TomTasche commented Jun 20, 2017

i don't know why, but you have to run that last command again every time you reboot your host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment