Hi.

preissler thomas wrote:

Hello,

I wonna use the output of

  echo "readlabel" | btape /dev/st0

for analyze purposes. But when I do a ">/tmp/btape-output 2>&1" that
file is empty. Whats going on? Or is there another way to find out,
which pool is in drive?

Well, first of all - when the device is mounted by the sd btape can't access it.


Secon, I'd use bconsole with status storage, some sed / awk scrip, and then ffed the tape name into some database query to get the pool name.

No examples, sorry, but if you've got some experience with scripting in the shell and with SQL that should not be too big a problem.

Arno


Greets, Thomas


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

-- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to