GNU Tar Autoloader Patch

for HP 72x10 (AE313) and many others...

This patch allows you to automate tape loading (during write) on any autoloader that supports changing to the next tape with the "mt offline" command. This only has an effect during backup. During restore, you will still have to manually change the tape because tar hops back and forth various times. Following these directions will produce a program called "mtar." It behaves exactly as upstream except during write ('c' flag) with multiple tapes ('M' flag).

NOTE: Remember to keep your autoloader at the beginning of the first tape before running this program.
NOTE: HP 72x10 (AE313) users will want to go through the front panel configuration to make sure autoload mode is Sequential, autoloader mode is Enabled, and loop mode is Disabled.

Instructions

Example

# mtar Mcvf /dev/st0 .
...
Loading volume #2 in `/dev/st0'
Sleeping 3 minutes for device to settle: done
...
Loading volume #3 in `/dev/st0'
Sleeping 3 minutes for device to settle: done
...
Loading volume #4 in `/dev/st0'
Sleeping 3 minutes for device to settle: done
...