Aha! this may be related to textutils. It looks like the solaris tr is different than the gnu util tr. Wow, solaris sucks!
Let me install the gnu one and see if that fixed my prob. --- Jerry <[EMAIL PROTECTED]> wrote: > I get this: > > [root@bolla libexec]# su bin -c > "/opt/amanda/sbin/amtape daily slot 3" > amtape: could not load slot 0: illegal request > > However I can do this: > > [root@bolla libexec]# ./chg-zd-mtx -slot 1 > 1 /dev/rmt/0n > [root@bolla libexec]# > > But... I did have to fix this in the script: > (chg-zd-mtx): > > numeric=`echo $whichslot | tr -cd 0-9` > to > numeric=`echo $whichslot | tr -cd [0-9]` <-- add [ ] > > But I thought amtape just calls the tape changer > script with -slot > > I wonder if amtape is using 'tr' in the same way and > causing a problem. > > -Jerry > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
