From: Kern S. <ke...@si...> - 2004-01-20 09:38:55
|
Hello, This works fine for me. The only thing I can think of is that there is an error going to stderr. Try: btape -c /etc/bacula/bacula-sd.conf /dev/nst0 2>&1 >/tmp/x <<AAA readlabel AAA Regards, Kern On Tue, 2004-01-20 at 09:15, Stanislav Tvrdy wrote: > Hi all, > > I have created shell script for reading label of volume: > > btape -c /etc/bacula/bacula-sd.conf /dev/nst0 > /tmp/x <<AAA > readlabel > AAA > > > With btape 1.32d and prior label was correctly written into file /tmp/x. > But wih btape 1.32f there is nothing written to file /tmp/x. But the > same script without redirecting output > > btape -c /etc/bacula/bacula-sd.conf /dev/nst0 <<AAA > readlabel > AAA > > works fine and print volume label on screen. > OS is RH 7.3. > > Any ideas? > > Stanislav Tvrdy > Elanor > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Bacula-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users |