Results 1 to 1 of 1
Hi guys,
Ive got a program that runs on Mac OS 10.5.8. The program runs a continuous cycle where it mounts an image, installs a browser plugin and unmounts the ...
- 10-28-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 1
diskimages-helper problem when mounting on a mac
Hi guys,
Ive got a program that runs on Mac OS 10.5.8. The program runs a continuous cycle where it mounts an image, installs a browser plugin and unmounts the image again. If I leave this program running I eventually end up in a situation where I get the following error "fork: resource temporarily unavailable". In the activity monitor I can see that several hundreds of processes called diskimages-helper are running. Does anyone know why this happens and how I can avoid it? Below are the commands I use during one cycle of the program.
// First I remove the plugin
rm -rf "/Library/Internet Plug-Ins/my.plugin"
// If the mount exists I unmount it
hdiutil unmount [mount] -force
// If that doesnt work I detach the device
hdiutil detach [device] -force
// Then I mount the image
hdiutil mount [image]
// I install the plugin
installer -package [package] -target /"
// Unmount
hdiutil unmount [mount] -force
// And if necessary detach
hdiutil detach [device] -force
Thanks, BasLast edited by bassmit; 10-28-2010 at 07:58 PM.


Reply With Quote