Some help with tar

Chris St. Pierre stpierre at NebrWesleyan.edu
Mon May 8 13:15:37 UTC 2006


You'll want to use the -F flag.  For instance:

tar -c -F 'mtx -f /dev/changer next' -f /dev/tape

-F takes a command as its argument; that command is run when
end-of-tape is reached.  Note that with -F, you *cannot* use
compression.  If you want to use compression, you should instead put
your tape library in stacker mode and let it change the tapes
automatically.

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

On Sat, 6 May 2006, Bliss, Aaron wrote:

>Does anyone know the proper syntax to pass to tar to tell him to start
>using the second tape drive when the first tape is full?  I have 2
>locally attached tape drives (/dev/nst0 and nst1) ; Any ideas?  Thanks.
>
>Aaron
>
>Confidentiality Notice:
>The information contained in this electronic message is intended for the exclusive use of the individual or entity named above and may contain privileged or confidential information.  If the reader of this message is not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that dissemination, distribution or copying of this information is prohibited.  If you have received this communication in error, please notify the sender immediately by telephone and destroy the copies you received.
>
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list