in reply to Efficient way to fork processes and keep a running count?

fork isn't so bad for efficiency. So I suggest you let the parent do all the bookkeeping, and you wait for any of the 3 children to finish. And then you can start up the next disk in the available drive.
  • Comment on Re: Efficient way to fork processes and keep a running count?