Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MayPeng

macrumors member
Original poster
Nov 21, 2010
53
0
I have a usb device , when it plug into the mac , it will appear a virtual disk .I want to reject it when unpluging device from the mac. How to reject Virtual disk when device unplugging from usb port by programming.

Thank you!
 
What is a virtual disk? What do you mean by "reject"? If you mean eject (a totally different word with different meaning) then what you want is impossible: you cannot eject the device once it's been removed: you must eject before removal.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.