# # This brutab file is provided AS IS. # # It should be thoroughly tested before using it # for critical data backups. # # This file is designed to be spliced into your # existing /etc/brutab file. # # You can usually change this file to work with # your tape drive by changing these things: # 1) device name (i.e., st0 to rct0) # 2) devname (i.e., "XYZ Drive") # 3) bufsize (set at 32k which works on most # systems (ftape requires increments of 10k # and some other devices are pickie too!) # When in doubt, set to the same as tar!!!! # ##################################################### # I M P O R T A N T N O T E S # # # Note 1: Device names used are ONLY samples. # Yours may be different. Check your OS # documentation to ensure compatibility PRIOR # to use. # # Note 2: We use "st0" as our default device name, # you may have to change this for use on your # system # # Note 3: All references are to the first device, # zero (0). If you have more than one drive of # the same type on a given system, your numbers # will vary (i.e., st0, st1, st2...). # # Note 4: If you're going to change the bufsizes # in the samples below, ensure your device can # handle the bufsize you select. Many devices # have their own limits. Ftape, for example, # requires bufsizes in increments of 10 (20, 30) # whereas some DLTs require multiples of 16k. # # Note 5: Ensure all bufsizes for any given device # are set to the same amount. For example, qft0 # may have entries: qft0, nqft0, zqft0, & nzqft0. # Since these all point to the same device, they # need to have the same bufsize in all entries! # # Note 6: For all non-rewinding devices, you should # set the tape movement commands as required by # your OS. All samples are shown with "mt." # Yours might be mt, tape, tctl, tapecntl.... # Check your man pages for details and syntax. # You will need to remove the comment lines from # the tape movement commands if they exist in # order to get the commands to become active. # # Note 7: Although unusual, the tape movement # commands on non-rewinding devices for retension, # rewind, and erase may require reference to the # rewinding device as shown in all examples below. # # Note 8: Set size=0 whenever you're using # non-rewinding or compression of any sort # (either hardware or software). # # Note 9: Whichever device is listed first in # brutab is the default device. # ##################################################### # Generic Tape Drive ##################################################### /dev/st0 \ devname="Generic Tape Drive, rewind" \ size=0 bufsize=32k seek=0 \ rawtape tape shmcopy rewind autoscan # Tape movement commands for nst0 are commented out # on original shipment. Please read all notes on # download file prior to using. When ready, remove # the five (5) comment markers below to use ("#"). # And, add a continuation mark, back slash, # to the "noautoscan" line. /dev/nst0 \ devname="Generic Tape Drive, norewind" \ size=0 bufsize=32k seek=0 \ rawtape tape shmcopy norewind noautoscan # eodcmd="mt -f /dev/nst0 eod" \ # rfmcmd="mt -f /dev/nst0 fsf 1" \ # retencmd="mt -f /dev/nst0 retension" \ # rewindcmd="mt -f /dev/nst0 rewind" \ # fmtcmd="mt -f /dev/nst0 erase"