N Nishad macrumors newbie Original poster Sep 20, 2007 #1 hi all, i am working on cocoa - objective c. i want to detect unmounted devices on mac programmatically OR where the informations about the unmounted devices will be stored. if any one know about these please share. with thanks and regards Nishad
hi all, i am working on cocoa - objective c. i want to detect unmounted devices on mac programmatically OR where the informations about the unmounted devices will be stored. if any one know about these please share. with thanks and regards Nishad
N Nutter macrumors 6502 Sep 21, 2007 #2 NSWorkspace You want to register for the notification "NSWorkspaceDidUnmountNotification". ... I'm assuming that you meant "devices which are being unmounted", rather than "devices which never get mounted in the first place".
NSWorkspace You want to register for the notification "NSWorkspaceDidUnmountNotification". ... I'm assuming that you meant "devices which are being unmounted", rather than "devices which never get mounted in the first place".
K kainjow Moderator emeritus Sep 21, 2007 #3 diskutil will list unmounted volumes Run "man diskutil" in Terminal I don't think there is a public API for this.
diskutil will list unmounted volumes Run "man diskutil" in Terminal I don't think there is a public API for this.