Hi, I modified chg-zd-mtx so that when you say next or prev and you hit an empty slot, it won't just die there with a timeout error, it'll continue to scan tapes until it finds one it can load. This fix is essential to me because I have multiple tape drives in my autoloader, and if chg-zd-mtx ever starts scanning tapes, it will eventually hit a hole (left by a tape in another drive) and die.
I haven't thoroughly tested all the corner cases, especially because one hole or two holes are handled differently in the code, and doing a prev when you're on tape 3, but 2 and 1 are empty, is of course a special case, but from what I did test, it seems to work. If you somehow asked next while all the tape slots were empty, it would also spin forever... Feel free to give me feedback (do Cc me though: sorry, I'm on way too many lists, so I look at the archives, but I'm not subscribed) You can find the updated version here: http://marc.merlins.org/linux/chg-zd-mtx.marc I can't find a very good reason to make this behavior optional, but if that's cool if you decide to include my code and add a flag to turn it on or off. Marc -- Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger [EMAIL PROTECTED] for PGP key
