Re: Mount/Unmount events in Foundation tool
Re: Mount/Unmount events in Foundation tool
- Subject: Re: Mount/Unmount events in Foundation tool
- From: Chris Suter <email@hidden>
- Date: Sat, 27 Jan 2007 09:05:37 +1100
Chris Suter wrote on Friday, January 26, 2007:
Look at the source code for disktool.
http://www.opensource.apple.com/darwinsource/10.4.8.ppc/
DiskArbitration-156/disktool/disktool.c
Actually, this turned out to be more confusing than helpful.
disktool never registers to get notifications of disk mount/unmount
events (which makes sense, since it's a transient command line tool).
It does. Try typing disktool -y.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden