[olug] Unix Tip: LABEL AND CONTROL TAPES!

Unix Guru Universe listserv at ugu.com
Tue Dec 24 19:04:16 UTC 2002


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

			      UNIX GURU UNIVERSE 
			         UNIX HOT TIP

			Unix Tip 2184 - December 24, 2002

		    http://www.ugu.com/sui/ugu/show?tip.today

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


LABEL AND CONTROL TAPES!

When you use tapes, remember 
to use the rewind/norewind 
options in the device name.  

For example:

cat </dev/rmt/c0t6d0s0yn 
(rewind before, no rewind 
after operation)

Using this, put a informational 
header on the inside of the 
tape - including information as 
to date produced, type of 
tape, system ID, etc.

You would use the following 
types of commands:

echo "`date` daily backup `uname`" >/dev/rmt/c0t6d0s0yn
cd /;find . -print|cpio -ovBdc >/dev/rmt/c0t6d0s0ny

This puts a single file at 
the start of the tape with the 
identifing information. You can 
then read this information before 
you do the restore.

This tip generously supported by: deyoung1 at mindspring.com



--------------------------------------------------------------------------
To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today

==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX 
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT 
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.

Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
==========================================================================




More information about the OLUG mailing list