Veritas-bu

[Veritas-bu] read the tapes from the mailslot

2002-07-03 14:00:45
Subject: [Veritas-bu] read the tapes from the mailslot
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Wed, 3 Jul 2002 12:00:45 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C222BB.8E31C3D0
Content-Type: text/plain

echo "s i" | /usr/openv/volmgr/bin/tldtest -r /dev/sg/<robot address>

You can then parse to get the output.

Here's an example:
echo "s i" | /usr/openv/volmgr/bin/tldtest -r /dev/sg/c3t6l0 | \
  tr -d ','| awk '{if ( $1=="Address" ) {addr=$2}
        else { if ( $1=="Barcode" ) {print addr-223"\t"$3} } }'

-----Original Message-----
From: Cosmin.Oprea [mailto:Cosmin.Oprea AT Leitch DOT com]
Sent: Wednesday, July 03, 2002 11:24 AM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] read the tapes from the mailslot


How do you read the label of the tapes in the mailslot (StorEdge Tek L180
for instance)
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

------_=_NextPart_001_01C222BB.8E31C3D0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] read the tapes from the mailslot</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>echo &quot;s i&quot; | /usr/openv/volmgr/bin/tldtest =
-r /dev/sg/&lt;robot address&gt;</FONT>
</P>

<P><FONT SIZE=3D2>You can then parse to get the output.</FONT>
</P>

<P><FONT SIZE=3D2>Here's an example:</FONT>
<BR><FONT SIZE=3D2>echo &quot;s i&quot; | /usr/openv/volmgr/bin/tldtest =
-r /dev/sg/c3t6l0 | \</FONT>
<BR><FONT SIZE=3D2>&nbsp; tr -d ','| awk '{if ( =
$1=3D=3D&quot;Address&quot; ) {addr=3D$2}</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else { if =
( $1=3D=3D&quot;Barcode&quot; ) {print addr-223&quot;\t&quot;$3} } =
}'</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Cosmin.Oprea [<A =
HREF=3D"mailto:Cosmin.Oprea AT Leitch DOT com">mailto:Cosmin.Oprea AT Leitch 
DOT com</=
A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, July 03, 2002 11:24 AM</FONT>
<BR><FONT SIZE=3D2>To: 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] read the tapes from the =
mailslot</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>How do you read the label of the tapes in the =
mailslot (StorEdge Tek L180</FONT>
<BR><FONT SIZE=3D2>for instance)</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C222BB.8E31C3D0--