[Veritas-bu] which flag indicates the tape is full?
2003-05-21 16:36:42
thanks mark.
"Donaldson, Mark" wrote:
>
> It's a single bit in the status word, field 15.
>
> Use this to locate full tapes:
>
> bpmedialist -mlist -l | awk ' { if ( int($15/8)%2 ) {print $1} }'
>
> -M
>
> -----Original Message-----
> From: Robert Johannes [mailto:robert.johannes AT udlp DOT com]
> Sent: Wednesday, May 21, 2003 11:21 AM
> To: nb
> Subject: [Veritas-bu] which flag indicates the tape is full?
>
> If I ran the command: 'bpmedialist -ev 002735 -l'
> the output is like this:
> 002735 *NULL* 1 13 1052240757 1052240758 1083801600 0 35295776 19 19 5
> 29 0 552 1024 \
> 0 0 0 0 0 0 0 0 0
>
> Which one of these flags indicates that a tape is full? Note that
> there's 25 fields in the line. Is there a better way to figure out that
> a tape is full, other than using the scripts or the -U option to
> bpmedialist?
>
> thanks for any help.
>
> robert
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|