ArGest Backup User Guide

⌘K
  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Appendix
  5. Appendix B – The BRU Help Command

Appendix B – The BRU Help Command

This section describes BRU’s two help options, -h and -hh. The first prints an abbreviated manual page for quick reference. The second lists brutab parameters and their current values.

Using bru with the -h Option

This is the mini-manual page that is printed when BRU is invoked with the -h (help) option. It is intended to be a concise reminder of the various options to BRU and their meanings. This sample page may not be identical to the version printed by your particular copy of BRU. Generally, this is a duplication of the BRU manpage. Please refer to “Appendix C: The BRU Manual Page.”

Using bru with the -hh Option

BRU may also be invoked with the -hh option. This version of the command looks up all the parameters for the default device and prints their current values. It is a good way to verify parameter values after they have been changed. The -hh option has the following variant: It may be followed by -f and a device name. For example:

# bru -hh -f ntape0

In this case, the command will print the current parameter values for the named device. This command is used mostly to verify that BRU is reading the proper values from the brutab file. Invoking bru with -hh produces a listing similar to the following:

**** environment variables / global brutab parameters ****
BRUTABONLY=NO
DEVNAMECHECK=NO
MATCHLEVEL=2
MAXFILENAMELEN=512
MAXWRITES=1000
OVERWRITEPROTECT=YES
READCHECKLEVEL=1
RECYCLEDAYS=1
ZBUFSIZE=1048320
ZINBUFSIZE=4096
DIRDATESELECT=NO
ZOUTBUFSIZE=6144
MOUNTCMD=”(null)”
UNMOUNTCMD=”(null)”
BRUHELP=”/bru/bruhelp”
BRUMAXWARNINGS=1000
BRUMAXERRORS=500
BRUXPAT=”/etc/bruxpat”
BRURAW=”/etc/bruraw”
BRUSMARTREST=”/etc/brusmartrest”
BRUREMOVELOG=”/usr/adm/bruremovelog”
BRUTMPDIR=”/usr/tmp”

**** brutab parameters for device: ntape0 ****

devname=”EXABYTE Tape”
tape: ON
rawtape: ON
reblocks: OFF
ignoreclose: OFF
noautoscan: OFF
rawfloppy: OFF
shmcopy: ON
format: OFF
eject: OFF
qfwrite: OFF
reopen: ON
noreopen: OFF
norewind: OFF
advance: OFF
openrw: OFF
largefile: OFF
resetcmd=”(null)”
fmtcmd=”(null)”
rfmcmd=”(null)”
wfmcmd=”(null)”
retencmd=”(null)”
rewindcmd=”(null)”
positioncmd=”(null)”
locatecmd=”(null)”
ejectcmd=”(null)”
openretries=1
iotimeout=0
iowait=0
opentimeout=3600
maxrewindtime=0
minrewindtime=25
size=1952000K
bufsize=20480
asbufsize=262144
maxbufsize=0
minbufsize=0
blocksize=0
endnulls=0
shmseg=7
shmmax=204800
shmall=0
seek=0
prerr=0
pwerr=0
zrerr=0
zwerr=0
frerr=0
fwerr=0
wperr=5
ederr=0
rmtsh=”no-rsh”
rmtsvr=”/etc/rmt”

**** system info ****
compile date: Wed Feb 1 14:32:00 1995
compiled on: odt20 odt20 3.2 2 i386

Using bru with the -hhh Option

BRU, when run with this option will produce a list of the error code definitions recognized by BRU.

**** error code definitions ****
EPERM=1
ENOENT=2
ESRCH=3
EINTR=4
EIO=5
ENXIO=6
E2BIG=7
ENOEXEC=8
EBADF=9
ECHILD=10
EAGAIN=11
ENOMEM=12
EACCES=13
EFAULT=14
ENOTBLK=15
EBUSY=16
EEXIST=17
EXDEV=18
ENODEV=19
ENOTDIR=20
EISDIR=21
EINVAL=22
ENFILE=23
EMFILE=24
ENOTTY=25
ETXTBSY=26
EFBIG=27
ENOSPC=28
ESPIPE=29
EROFS=30
EMLINK=31
EPIPE=32
EDOM=33
ERANGE=34
EWOULDBLOCK=90
EINPROGRESS=91
EALREADY=92
ENOTSOCK=93
EDESTADDRREQ=94
EMSGSIZE=95
EPROTOTYPE=96
ENOPROTOOPT=118
EPROTONOSUPPORT=97
ESOCKTNOSUPPORT=98
EOPNOTSUPP=99
EPFNOSUPPORT=100
EAFNOSUPPORT=101
EADDRINUSE=102
EADDRNOTAVAIL=103
ENETDOWN=104
ENETUNREACH=105
ENETRESET=106
ECONNABORTED=107
ECONNRESET=108
ENOBUFS=63
EISCONN=110
ENOTCONN=111
ESHUTDOWN=112
ETIMEDOUT=114
ECONNREFUSED=115
ELOOP=150
ENAMETOOLONG=78
ENOTEMPTY=145
ENOMSG=35
EIDRM=36
ECHRNG=37
EL2NSYNC=38
EL3HLT=39
EL3RST=40
ELNRNG=41
EUNATCH=42
ENOCSI=43
EL2HLT=44
EDEADLOCK=56