fork and flock and a lock that blocks. The child pid (fork) locks a file using flock, once that lock is achieved (correctly), you can use the CD-ROM. Inside that locked region of code, you can log to a file to record the status. You could also wait on the child to get the exit status.
In reply to Re: Disc burning
by trippledubs
in thread Disc burning
by milanpwc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |