📄 ansitape.1
字号:
.TH ANSITAPE 1 "April 10, 1985".UC 4.SH NAMEansitape \- ANSI standard tape handler.SH SYNOPSIS.B ansitape[key] [keyargs] [files].SH DESCRIPTION.I Ansitapereads and writes magnetic tapes written inANSI standard format(called ``Files-11'' by DEC).Tapes written by.I ansitapeare labeled with the first 6 characters of the machine name by default.Actions are controlled by the.I keyargument.The.I keyis a string of characters containing atmost one function letter.Other arguments to the command area tape label and file names specifying which files areto be written onto or extracted from the tape..PPThe function portion of the key isspecified by one of the following letters:.TP 8.B rThe named files are written at the end of the tape.The.B cfunction implies this..TP 8.B xThe named files are extracted from the tape.If no file argument is given,the entire contents of the tape is extracted.Note that if the tape has duplicated file names,only the last file of a given name canbe extracted..TP 8.B tThe names of the specified files are listedeach time they occur on the tape.If no file argument is given,all files on the tape are listed..TP 8.B cCreate a new tape; writing begins at thebeginning of the tape instead of afterthe last file.This command implies.B r..PPThe following characters may be used inaddition to the letter which selectsthe function desired..TP 8.B fThis argument allows the selection of a different tapedevice. The next word in the keyargs list is taken to bethe full name of a device to write the tape on.The default is /dev/rmt12..TP 8.B nThe.B noption allows the user to specify as the next argument in the keyargs list,a control file containing the names of files to put on the tape. If the file name is '-', the control file will, instead, be readfrom standard input.The control file contains one line for each fileto be placed on the tape.Each line has two names, the name of the file onthe local machine, and the name it is to have whenplaced on the tape. This allows for more convenientflattening of hierarchies when placing them on tape.If the second name is omitted, the UNIX file name will beused on the tape also.This argument can only be used with the .B r and .B cfunctions..TP 8.B lThe .B loption allows the user to specify the label to be placed on the tape. The next argument in the keyargs list is taken as the tape label, whichwill be space padded or truncated to six characters.This option is meaningless unless .B cis also specified..TP 8.B vNormally.I ansitapeworks relatively silently.The.B v(verbose) option causes it to type information about each file as it processes it..TP 8.B bThe.B boption allows the user to select the blocksize to be used for thetape.By default,.I ansitapeuses the maximum block size permitted by the ANSI standard, 2048.Some systems will permit a much larger block size, and if largefiles are being put on the tape it may be advantageous to do so..I Ansitapewill take the next argument of the keyargs list as the blocksize for the tape.Values below 18 or above 32k will be limited to that range.The standard scale factors b=512 and k=1024 are accepted..TP 8.B FThe .B Fflag allows.I ansitapeto write ansi 'D' format fixed record length tapes.The next two keyargs must be the recordsize and blocksize to be used,with the same scale factors and range limits as for the.B boption.The files to be written by the.B Fflag must be in fixed format on the unix end - all lines should be.I EXACTLY.B recordsizebytes long plus a terminating newline (which will be discarded).Note that this is exactly the same format produced by.I ansitapewhen reading an ansi 'D' format tape..PP.I Ansitapewill not copy directories, character or block special files,symbolic links, sockets, or binary executables. Attempts to put these on tape will result in warnings, and they willbe skipped completely..SH FILES/dev/rmt12.br.SH DIAGNOSTICSA warning message will be generated when a record exceeds the maximum recordlength and the affected file will be truncated..br.SH BUGSAnsitape quietly truncates names longer than 17 characters..brMultivolume tapes can be read (provided no files cross thevolume boundary) but not written..br
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -