While I think you're right, this should work. It might look kind of funny when there are a bunch of
finished jobs. Imaging all 4 drives have media that has been used. Then every minute each drive will reload and then eject again after some time.
But you're right, it should work. Even if it looks funny. :)
Might be a little bit of stress on the drive tray loading mechanism. But you're right, it's a good start. I don't think these will get used all that much that it will matter, and I can decrease the update time to once every 5 minutes, which shouldn't hurt too badly.
Actually, I just thought of something. If you try to mount a drive with nothing in it, it gives the error "No medium found", while if you have blank media it gives: "I could not determine the filesystem type..."
Now I just have to figure out if there is a way to check that the cd is ejected. Maybe eject will help.
I haven't found anything yet, but it might have promise.
John
=:->

Miguel Figueiredo wrote:

Try like this:

First check media. If it does not have media eject cd.
If it as media, try to mount the fs. If the fs has data, eject cd.
If the media has no data, burn.

Maybe it will work for your purposes,

Miguel

On Wednesday 11 December 2002 19:02, you wrote:

Thanks for the reply.  That helps quite a bit.
Do you know how to tell cdrecord not to reload the media (if the cd tray
is open)?  Because it would be nice for my purposes to eject the cd so
that it's obvious that something is done, but then still be able to
query everything to see if there is an available drive.
There might not be a flag for this (unfortunately).  And I really would
prefer not having to customize cdrecord for my project.
Thanks,
John
=:->




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to