On Oct 9, 2009, at 10:37 AM, Maggie Zhang wrote:

What I want is to hide existing mounted volumes whose names I don't want to change. Say, I create 20 disk images and mount them all on the desktop but I want them to be selectively invisible from the Desktop and can still be
accessible (e.g. whose contents can be read or modified.)

If you use the nowbrowse option in either mount or hdiutil, it hides them from the finder. It also hides them from things such as open or save dialogs, but you can still access them with filesystem APIs.

You have to plan to do this before the volume is mounted. To my knowledge, there is no way to do this after a volume has been mounted.

--
Dave Carrigan
d...@rudedog.org
Seattle, WA, USA

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to