Find the answer to your Linux question:
Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #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, Bas
    Last edited by bassmit; 10-28-2010 at 07:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts