⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tp.1

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 1
字号:
.th TP I 10/15/73.sh NAMEtp  \*-  manipulate DECtape and magtape.sh SYNOPSIS.bd tp[ key ] [ name ... ].sh DESCRIPTION.it Tpsaves and restores fileson DECtape or magtape.Its actions are controlled by the.it keyargument.The key is a string of characters containingat most one function letter and possiblyone or more function modifiers.Other arguments to the command are file or directorynames specifying which files are to be dumped, restored,or listed.In all cases, appearance of a directory name refers tothe files and (recursively) subdirectories of that directory..s3The function portion ofthe key is specified by one of the following letters:.s3.lp +8 4\fBr\fR	The named filesare writtenon the tape.If files with the same namesalready exist, they are replaced.`Same' is determined by string comparison, so`./abc' can never be the same as `/usr/dmr/abc' evenif `/usr/dmr' is the current directory.If no file argument is given, `\fB.\fR' is the default..s3.lp +8 4\fBu\fR	updates the tape..bd uis like.bd r,but a file is replaced only if itsmodification date is later than the date stored on the tape;that is to say, if it has changed since it was dumped..bd uis the default command if none is given..s3.lp +8 4\fBd\fR	deletes the named files fromthe tape.At least one name argument must be given.This function is not permitted on magtapes..s3.lp +8 4\fBx\fR	extracts the named files from the tape to the file system.The owner and mode are restored.If no file argument is given, the entire contents of thetape are extracted..s3.lp +8 4\fBt\fR	lists the names of the specified files.If no file argument is given,the entire contents of the tape is listed..s3.i0The following characters may be used in addition to the letterwhich selects the function desired..s3.lp +10 6\fBm\fR	Specifies magtape as opposed to DECtape..s3.lp +10 6\fB0,...,7\fR	Thismodifier selects the drive on which the tape is mounted.For DECtape, `x' is default; for magtape`0' is the default..s3.lp +10 6\fBv\fR	Normally.it tpdoes its work silently.The.bd v(verbose)option causes it to type the name of each file it treatspreceded by the function letter.With the.bd tfunction,.bd vgives more information about thetape entries than just the name..s3.lp +10 6\fBc\fR	means a fresh dump is being created; the tape directoryis zeroed before beginning.Usable only with.bd rand.bd u.This option is assumed with magtape sinceit is impossible to selectively overwritemagtape..s3.lp +10 6\fBf\fR	causes new entries on tape to be `fake' in thatno data is present for these entries.Such fake entries cannot be extracted.Usable only with.bd rand.bd u..s3.lp +10 6\fBi\fR	Errors reading and writing thetape are noted, but no action is taken.Normally, errors cause a return to the command level..s3.lp +10 6\fBw\fR	causes.it tpto pause before treating each file, typethe indicative letter and the file name (as with v)and await the user's response.Response.bd ymeans `yes', so the file is treated.Null responsemeans `no', and the file does not take partin whatever is being done.Response.bd xmeans `exit';the.it tpcommand terminates immediately.In the.bd xfunction,files previously asked abouthave been extracted already.With.bd "r, u,"and.bd dno change has been made to the tape..s3.i0.sh FILES/dev/tap?.br/dev/mt?.sh DIAGNOSTICSSeveral; the non-obvious one is`Phase error', which means the file changed after it was selected fordumping but before it was dumped..sh BUGSA single file with several links to it is treated like several files.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -