TapeChanger::MTXTapeChanger::MTX can use 'mtx' to manipulate a tape library. | |
Download |
TapeChanger::MTX Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tim Skirvin
- Publisher web site:
- http://search.cpan.org/~tskirvin/News-Overview-0.11.02/News/Overview/Entry.pm
TapeChanger::MTX Tags
TapeChanger::MTX Description
TapeChanger::MTX can use 'mtx' to manipulate a tape library. TapeChanger::MTX can use 'mtx' to manipulate a tape library.SYNOPSIS use TapeChanger::MTX; my $loaded = TapeChanger::MTX->loadedtape; print "Currently loaded: $loadedn" if ($loaded); TapeChanger::MTX->loadtape('next'); my $nowloaded = TapeChanger::MTX->loadedtape; print "Currently loaded: $nowloadedn" if ($nowloaded);See below for more available functions.TapeChanger::MTX is a module to manipulate a tape library using the 'mtx' tape library program. It is meant to work with a simple shell/perl script to load and unload tapes as appropriate, and to provide a interface for more complicated programs to do the same. The below functions and variables should do as good a job as explaining this as anything.VARIABLES$TapeChanger::MTX::MT =item $TapeChanger::MTX::MTXWhat is the location of the 'mt' and 'mtx' binaries? Can be set with '$MT' and '$MTX' in ~/.mtxrc, or defaults to '/usr/sbin/mt' and '/usr/local/sbin/mtx'.$TapeChanger::MTX::DRIVE $TapeChanger::MTX::CONTROLWhat are the names of the tape (DRIVE) and changer (CONTROL) device nodes? Can be set with $DRIVE or $CONTROL in ~/.mtxrc, or default to '/dev/rmt/0' and '/dev/changer' respectively.$TapeChanger::MTX::EJECTDoes the tape drive have to eject the tape before the changer retrieves it? It's okay to say 'yes' if it's not necessary, in most cases. Can be set with $EJECT in ~/.mtxrc, or defaults to '1'.$TapeChanger::MTX::READY_TIMEHow long should we wait to see if the drive is ready, in seconds, after mounting a volume? Can be set with $READY_TIME in ~/.mtxrc, or defaults to 60.$TapeChanger::MTX::DEBUGPrint debugging information? Set to '0' for normal verbosity, '1' for debugging information, or '-1' for 'quiet mode' (be as quiet as possible). Requirements: · Perl
TapeChanger::MTX Related Software