Research V6 development
authorKen Thompson <ken@research.uucp>
Fri, 27 Jun 1975 00:10:00 +0000 (19:10 -0500)
committerKen Thompson <ken@research.uucp>
Fri, 27 Jun 1975 00:10:00 +0000 (19:10 -0500)
Work on file usr/doc/man/man8/bproc.8
Work on file usr/doc/man/man8/df.8
Work on file usr/doc/man/man8/cron.8
Work on file usr/doc/man/man8/crash.8
Work on file usr/doc/man/man8/chown.8
Work on file usr/doc/man/man8/chgrp.8
Work on file usr/doc/man/man8/dpd.8
Work on file usr/doc/man/man8/ac.8
Work on file usr/doc/man/man8/clri.8
Work on file usr/doc/man/man8/dcheck.8
Work on file usr/doc/man/man8/dump.8
Work on file usr/doc/man/man8/glob.8
Work on file usr/doc/man/man8/getty.8
Work on file usr/doc/man/man8/mount.8
Work on file usr/doc/man/man8/restor.8
Work on file usr/doc/man/man8/wall.8
Work on file usr/doc/man/man8/icheck.8
Work on file usr/doc/man/man8/init.8
Work on file usr/doc/man/man8/lpd.8
Work on file usr/doc/man/man8/sync.8
Work on file usr/doc/man/man8/mknod.8

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v6

21 files changed:
usr/doc/man/man8/ac.8 [new file with mode: 0644]
usr/doc/man/man8/bproc.8 [new file with mode: 0644]
usr/doc/man/man8/chgrp.8 [new file with mode: 0644]
usr/doc/man/man8/chown.8 [new file with mode: 0644]
usr/doc/man/man8/clri.8 [new file with mode: 0644]
usr/doc/man/man8/crash.8 [new file with mode: 0644]
usr/doc/man/man8/cron.8 [new file with mode: 0644]
usr/doc/man/man8/dcheck.8 [new file with mode: 0644]
usr/doc/man/man8/df.8 [new file with mode: 0644]
usr/doc/man/man8/dpd.8 [new file with mode: 0644]
usr/doc/man/man8/dump.8 [new file with mode: 0644]
usr/doc/man/man8/getty.8 [new file with mode: 0644]
usr/doc/man/man8/glob.8 [new file with mode: 0644]
usr/doc/man/man8/icheck.8 [new file with mode: 0644]
usr/doc/man/man8/init.8 [new file with mode: 0644]
usr/doc/man/man8/lpd.8 [new file with mode: 0644]
usr/doc/man/man8/mknod.8 [new file with mode: 0644]
usr/doc/man/man8/mount.8 [new file with mode: 0644]
usr/doc/man/man8/restor.8 [new file with mode: 0644]
usr/doc/man/man8/sync.8 [new file with mode: 0644]
usr/doc/man/man8/wall.8 [new file with mode: 0644]

diff --git a/usr/doc/man/man8/ac.8 b/usr/doc/man/man8/ac.8
new file mode 100644 (file)
index 0000000..f9e5db9
--- /dev/null
@@ -0,0 +1,55 @@
+.th AC VIII 2/20/74
+.sh NAME
+ac \*- login accounting
+.sh SYNOPSIS
+.bd ac
+[
+.bd \*-w
+wtmp ] [
+.bd \*-p
+] [
+.bd \*-d
+] people
+.sh DESCRIPTION
+.it Ac
+produces a printout giving
+connect time
+for each user who has logged in
+during the life of the current
+.it wtmp
+file.
+A total is also produced.
+.bd \*-w
+is used to specify an alternate \fIwtmp\fR file.
+.bd \*-p
+prints individual totals; without this option,
+only totals are printed.
+.bd \*-d
+causes a printout for each midnight to midnight
+period.
+Any
+.it people
+will limit the
+printout to only the specified login names.
+If no \fIwtmp\fR file is given,
+.it /usr/adm/wtmp
+is used.
+.s3
+The accounting file
+.it /usr/adm/wtmp
+is maintained by
+.it init
+and
+.it login.
+Neither of these programs creates the file,
+so if it does not exist
+no connect-time accounting is done.
+To start accounting, it should be created with length 0.
+On the other hand if the file is left undisturbed it will
+grow without bound, so periodically any information
+desired should be collected and the file truncated.
+.sh FILES
+/usr/adm/wtmp
+.sh "SEE ALSO"
+init (VIII), login (I), wtmp (V).
+.sh BUGS
diff --git a/usr/doc/man/man8/bproc.8 b/usr/doc/man/man8/bproc.8
new file mode 100644 (file)
index 0000000..9f92d7f
--- /dev/null
@@ -0,0 +1,258 @@
+.tr |
+.th "BOOT PROCEDURES" VIII 2/11/75
+.sh NAME
+boot procedures \*- UNIX startup
+.sh DESCRIPTION
+.it "How to start UNIX.||"
+UNIX is started by placing it in core
+at location zero and transferring to zero.
+Since the system is not reenterable,
+it is necessary to read it in from disk or tape.
+.s3
+The
+.it tp
+command places a bootstrap program
+on the
+otherwise unused block zero of the tape.
+The DECtape version of this program is
+called
+.it tboot,
+the magtape version
+.it mboot.
+If
+.it tboot
+or
+.it mboot
+is read into location zero and
+executed there,
+it will type `=' on the console,
+read in a
+.it tp
+entry name,
+load that entry into core,
+and transfer to zero.
+Thus one way to run UNIX
+is to maintain the system code on a tape using
+.it tp.
+Caution: the file /usr/mdec/tboot
+(DECtape)
+or /usr/mdec/mboot
+(magtape)
+must be present when the tape is made!
+When a boot is required,
+execute (somehow) a program
+which reads in and jumps to
+the first block of the tape.
+In response to the `='
+prompt,
+type the entry name of the system on the tape
+(we use plain `unix').
+It is strongly recommended that a current version of
+the system be maintained in this way,
+even if it is usually booted from disk.
+.s3
+The standard
+DEC ROM which loads DECtape is sufficient to
+read in
+.it tboot,
+but the
+magtape ROM loads block one, not zero.
+If no suitable ROM is available,
+magtape and DECtape programs are presented below which may be
+manually placed in core and executed.
+.s3
+The system can also be booted from a disk file
+with the aid of the
+.it uboot
+program.
+When read into location 0 and executed,
+.it uboot
+reads a single character (either
+.bd p
+or
+.bd k
+for RP or RK, both drive 0)
+to specify which device is to be
+searched.
+Then it
+reads a UNIX pathname from the console,
+finds the corresponding file on the given device,
+loads that file into core location zero,
+and transfers to it.
+.it Uboot
+operates under very
+severe space constraints.
+It supplies no prompts, except that it
+echoes a carriage return and line feed after the
+.bd p
+or
+.bd k.
+No diagnostic is provided if the indicated file cannot be found,
+nor is there any means of correcting typographical errors in the
+file name except to start the program over.
+If it fails to find the file, however,
+it jumps back to its start,
+so another try
+can be attempted,
+starting again with the
+.bd p
+or
+.bd k.
+Notice that
+.it uboot
+will only load a file from drive 0,
+and the file system it searches must start
+at the beginning of the disk.
+.it Uboot
+itself usually resides in the otherwise unused
+block 0
+of the disk,
+so it can be loaded by ROM program;
+.it mkfs
+can be used to put it there when the file system is created.
+It can also be loaded from a
+.it tp
+tape as described above.
+.s3
+.it "The switches.||"
+The console switches play an important role in the
+use and especially the booting of UNIX.
+During operation,
+the console switches are
+examined 60 times per second,
+and the contents of the address specified by the switches
+are displayed in the display register.
+(This is not true on the 11/40
+since there is no display register on that machine.)
+If the switch address is even,
+the address is interpreted in kernel (system)
+space;
+if odd,
+the rounded-down address is interpreted in
+the current user space.
+.s3
+If any diagnostics are produced by the system,
+they are printed on the console only if
+the switches are non-zero.
+Thus it is wise to have a non-zero value in the
+switches at all times.
+.s3
+During the startup of the
+system,
+the
+.it init
+program (VIII)
+reads the switches and
+will come up single-user
+if the switches are set to 173030.
+.s3
+It is unwise to have a non-existent address in the
+switches.
+This causes a bus error in the system
+(displayed as 177777)
+at the rate of 60 times per second.
+If there is a transfer of more than
+16ms duration on a device with a data rate
+faster than the bus error timeout
+(about 10\*us)
+then a permanent disk non-existent-memory error will occur.
+.s3
+.it "ROM programs.||"
+Here are some programs which are suitable for
+installing in read-only memories,
+or for manual keying into core
+if no ROM is present.
+Each program is position-independent
+but should be placed well above location 0
+so it will not be overwritten.
+Each reads a block from the
+beginning of a device into core location
+zero.
+The octal words constituting the program are
+listed on the left.
+.s3
+.ne 5
+.nf
+DECtape (drive 0) from endzone:
+.if n .ta 3 11 15 23 38
+.if t .ta .3i 1i 1.4i 2i 3.5i
+       012700          mov     $tcba,r0
+       177346
+       010040          mov     r0,\*-(r0)      / use tc addr for wc
+       012710          mov     $3,(r0) / read bn forward
+       000003
+       105710  1:      tstb    (r0)    / wait for ready
+       002376          bge     1b
+       112710          movb    $5,(r0) / read (forward)
+       000005
+       000777          br      \fB.\fR / loop; now halt and start at 0
+.s3
+DECtape (drive 0) with search:
+       012700  1:      mov     $tcba,r0
+       177346
+       010040          mov     r0,\*-(r0)      / use tc addr for wc
+       012740          mov     $4003,\*-(r0)   / read bn reverse
+       004003
+       005710  2:      tst     (r0)
+       002376          bge     2b      / wait for error
+       005760          tst     \*-2(r0)        / loop if not end zone
+       177776
+       002365          bge     1b
+       012710          mov     $3,(r0) / read bn forward
+       000003
+       105710  2:      tstb    (r0)    / wait for ready
+       002376          bge     2b
+       112710          movb    $5,(r0) / read (forward)
+       000005
+       105710  2:      tstb    (r0)    / wait for ready
+       002376          bge     2b
+       005007          clr     pc      / transfer to zero
+.s3
+.fi
+Caution: both of these DECtape programs will (literally) blow a fuse
+if 2 drives are dialed to zero.
+.s3
+.nf
+Magtape from load point:
+       012700          mov     $mtcma,r0
+       172526
+       010040          mov     r0,\*-(r0)      / usr mt addr for wc
+       012740          mov     $60003,\*-(r0)  / read 9\*-track
+       060003
+       000777          br      \fB.\fR / loop; now halt and start at 0
+.s3
+RK (drive 0):
+       012700          mov     $rkda,r0
+       177412
+       005040          clr     \*-(r0) / rkda cleared by start
+       010040          mov     r0,\*-(r0)
+       012740          mov     $5,\*-(r0)
+       000005
+       105710  1:      tstb    (r0)
+       002376          bge     1b
+       005007          clr     pc
+.s3
+.ne 11
+RP (drive 0)
+       012700          mov     $rpmr,r0
+       176726
+       005040          clr     \*-(r0)
+       005040          clr     \*-(r0)
+       005040          clr     \*-(r0)
+       010040          mov     r0,\*-(r0)
+       012740          mov     $5,\*-(r0)
+       000005
+       105710  1:      tstb    (r0)
+       002376          bge     1b
+       005007          clr     pc
+.dt
+.sh FILES
+/unix \*- UNIX code
+.br
+/usr/mdec/mboot \*- \fItp\fR magtape bootstrap
+.br
+/usr/mdec/tboot \*- \fItp\fR DECtape bootstrap
+.br
+/usr/mdec/uboot \*- file system bootstrap
+.sh "SEE ALSO"
+tp (I), init (VIII)
diff --git a/usr/doc/man/man8/chgrp.8 b/usr/doc/man/man8/chgrp.8
new file mode 100644 (file)
index 0000000..6948fa0
--- /dev/null
@@ -0,0 +1,19 @@
+.th CHGRP VIII 2/8/75
+.sh NAME
+chgrp \*- change group
+.sh SYNOPSIS
+.bd chgrp
+group file ...
+.sh DESCRIPTION
+The group-ID of the files is changed to
+.it group.
+The group may be either a decimal GID or
+a group name found in the group-ID file.
+.s3
+Only the super-user is allowed to change the group of a file,
+in order to simplify as yet unimplemented accounting procedures.
+.sh "SEE ALSO"
+chown (VIII)
+.sh FILES
+/etc/group
+.sh BUGS
diff --git a/usr/doc/man/man8/chown.8 b/usr/doc/man/man8/chown.8
new file mode 100644 (file)
index 0000000..bd633bb
--- /dev/null
@@ -0,0 +1,19 @@
+.th CHOWN VIII 2/8/75
+.sh NAME
+chown \*- change owner
+.sh SYNOPSIS
+.bd chown
+owner file ...
+.sh DESCRIPTION
+The user-ID of the files is changed to
+.it owner.
+The owner may be either a decimal UID or
+a login name found in the password file.
+.s3
+Only the super-user is allowed to change the owner of a file,
+in order to simplify as yet unimplemented accounting procedures.
+.sh FILES
+/etc/passwd
+.sh "SEE ALSO"
+chgrp (VIII)
+.sh BUGS
diff --git a/usr/doc/man/man8/clri.8 b/usr/doc/man/man8/clri.8
new file mode 100644 (file)
index 0000000..e589bc0
--- /dev/null
@@ -0,0 +1,53 @@
+.th CLRI VIII 10/31/73
+.sh NAME
+clri \*- clear i-node
+.sh SYNOPSIS
+.bd clri
+i-number [ filesystem ]
+.sh DESCRIPTION
+.it Clri
+writes zeros on the 32 bytes occupied by the i-node
+numbered
+.it i-number.
+If the
+.it "file system"
+argument is given, the i-node resides on
+the given device, otherwise on a
+default file system.
+The file system argument
+must be a special file
+name referring to a device
+containing a file system.
+After
+.it clri,
+any blocks
+in the affected file
+will show up as ``missing'' in an
+.it icheck
+of
+of the file system.
+.s3
+Read and write permission is required on the specified
+file system device.
+The i-node becomes allocatable.
+.s3
+The primary purpose of this routine
+is to remove a file which
+for some reason appears in no
+directory.
+If it is used to zap an i-node
+which does appear in a directory, care should be taken to track down
+the entry and remove it.
+Otherwise, when the i-node is reallocated to some new file,
+the old entry will still point to that file.
+At that point removing the old entry will destroy the new file.
+The new entry will again point to an unallocated i-node,
+so the whole cycle is likely to be repeated again and again.
+.sh BUGS
+Whatever the default file system is,
+it is likely to be wrong.
+Specify the file system explicitly.
+.s3
+If the file is open,
+.it clri
+is likely to be ineffective.
diff --git a/usr/doc/man/man8/crash.8 b/usr/doc/man/man8/crash.8
new file mode 100644 (file)
index 0000000..9823cfe
--- /dev/null
@@ -0,0 +1,336 @@
+.th CRASH VIII 2/12/75
+.tr |
+.sh NAME
+crash \*- what to do when the system crashes
+.sh DESCRIPTION
+This section gives at least a few clues about how to proceed if the
+system crashes.
+It can't pretend to be complete.
+.s3
+.it "How to bring it back up.||"
+If the reason for the crash is not evident
+(see below for guidance on `evident')
+you may want to try to dump the system if you feel up to
+debugging.
+At the moment a dump can be taken only on magtape.
+With a tape mounted and ready,
+stop the machine, load address 44, and start.
+This should write a copy of all of core
+on the tape with an EOF mark.
+Caution:
+Any error is taken to mean the end of core has been reached.
+This means that you must be sure the ring is in,
+the tape is ready, and the tape is clean and new.
+If the dump fails, you can try again,
+but some of the registers will be lost.
+See below for what to do with the tape.
+.s3
+In restarting after a crash,
+always bring up the system single-user.
+This is accomplished by following the directions in
+.it "boot procedures"
+(VIII)
+as modified for your particular installation;
+a single-user system is indicated by having a particular value
+in the switches (173030 unless you've changed
+.it init)
+as the system starts executing.
+When it is running,
+perform a
+.it dcheck
+and
+.it icheck
+(VIII)
+on all file systems which could have been in use at the time
+of the crash.
+If any serious file system problems are found, they should be repaired.
+When you are satisfied with the health of your disks,
+check and set the date if necessary,
+then come up multi-user.
+This is most easily accomplished by changing the
+single-user value in the switches to something else,
+then logging out
+by typing an EOT.
+.s3
+To even boot \s8UNIX\s10 at all,
+three files (and the directories leading to them)
+must be intact.
+First,
+the initialization program
+.it /etc/init
+must be present and executable.
+If it is not,
+the CPU will loop in user mode at location 6.
+For
+.it init
+to work correctly,
+.it /dev/tty8
+and
+.it /bin/sh
+must be present.
+If either does not exist,
+the symptom is best described
+as thrashing.
+.it Init
+will go into a
+.it fork/exec
+loop trying to create a
+Shell with proper standard input and output.
+.s3
+If you cannot get the system to boot,
+a runnable system must be obtained from
+a backup medium.
+The root file system may then be doctored as
+a mounted file system as described below.
+If there are any problems with the root
+file system,
+it is probably prudent to go to a
+backup system to avoid working on a
+mounted file system.
+.s3
+.it "Repairing disks.||"
+The first rule to keep in mind is that an addled disk
+should be treated gently;
+it shouldn't be mounted unless necessary,
+and if it is very valuable yet
+in quite bad shape, perhaps it should be dumped before
+trying surgery on it.
+This is an area where experience and informed courage count for much.
+.s3
+The problems reported by
+.it icheck
+typically fall into two kinds.
+There can be
+problems with the free list:
+duplicates in the free list, or free blocks also in files.
+These can be cured easily with an
+.it "icheck \*-s."
+If the same block appears in more than one file
+or if a file contains bad blocks,
+the files should be deleted, and the free list reconstructed.
+The best way to delete such a file is to use
+.it clri
+(VIII),
+then remove its directory entries.
+If any of the affected files is really precious,
+you can try to copy it to another device
+first.
+.s3
+.it Dcheck
+may report files which
+have more directory entries than links.
+Such situations are potentially dangerous;
+.it clri
+discusses a special case of the problem.
+All the directory entries for the file should be removed.
+If on the other hand there are more links than directory entries,
+there is no danger of spreading infection, but merely some disk space
+that is lost for use.
+It is sufficient to copy the file (if it has any entries and is useful)
+then use
+.it clri
+on its inode and remove any directory
+entries that do exist.
+.s3
+Finally,
+there may be inodes reported by
+.it dcheck
+that have 0 links and 0 entries.
+These occur on the root device when the system is stopped
+with pipes open, and on other file systems when the system
+stops with files that have been deleted while still open.
+A
+.it clri
+will free the inode, and an
+.it "icheck -s"
+will
+recover any missing blocks.
+.s3
+.it "Why did it crash?||"
+UNIX types a message
+on the console typewriter when it voluntarily crashes.
+Here is the current list of such messages,
+with enough information to provide
+a hope at least of the remedy.
+The message has the form `panic: ...',
+possibly accompanied by other information.
+Left unstated in all cases
+is the possibility that hardware or software
+error produced the message in some unexpected way.
+.s3
+.lp +5 5
+blkdev
+.br
+The
+.it getblk
+routine was called with a nonexistent major device as argument.
+Definitely hardware or software error.
+.s3
+.lp +5 5
+devtab
+.br
+Null device table entry for the major device used as argument to
+.it getblk.
+Definitely hardware or software error.
+.s3
+.lp +5 5
+iinit
+.br
+An I/O error reading the super-block for the root file system
+during initialization.
+.s3
+.lp +5 5
+out of inodes
+.br
+A mounted file system has no more i-nodes when creating a file.
+Sorry, the device isn't available;
+the
+.it icheck
+should tell you.
+.s3
+.lp +5 5
+no fs
+.br
+A device has disappeared from the mounted-device table.
+Definitely hardware or software error.
+.s3
+.lp +5 5
+no imt
+.br
+Like `no fs', but produced elsewhere.
+.s3
+.lp +5 5
+no inodes
+.br
+The in-core inode table is full.
+Try increasing NINODE in param.h.
+Shouldn't be a panic, just a user error.
+.s3
+.lp +5 5
+no clock
+.br
+During initialization,
+neither the line nor programmable clock was found to exist.
+.s3
+.lp +5 5
+swap error
+.br
+An unrecoverable I/O error during a swap.
+Really shouldn't be a panic,
+but it is hard to fix.
+.s3
+.lp +5 5
+unlink \- iget
+.br
+The directory containing a file being deleted can't be found.
+Hardware or software.
+.s3
+.lp +5 5
+out of swap space
+.br
+A program needs to be swapped out, and there is no more swap space.
+It has to be increased.
+This really shouldn't be a panic, but there is no easy fix.
+.s3
+.lp +5 5
+out of text
+.br
+A pure procedure program is being executed,
+and the table for such things is full.
+This shouldn't be a panic.
+.s3
+.lp +5 5
+trap
+.br
+An unexpected trap has occurred within the system.
+This is accompanied by three numbers:
+a `ka6', which is the contents of the segmentation
+register for the area in which the system's stack is kept;
+`aps', which is the location where the hardware stored
+the program status word during the trap;
+and a `trap type' which encodes
+which trap occurred.
+The trap types are:
+.s3
+.lp +10 5
+0      bus error
+.lp +10 5
+1      illegal instruction
+.lp +10 5
+2      BPT/trace
+.lp +10 5
+3      IOT
+.lp +10 5
+4      power fail
+.lp +10 5
+5      EMT
+.lp +10 5
+6      recursive system call (TRAP instruction)
+.lp +10 5
+7      11/70 cache parity, or programmed interrupt
+.lp +10 5
+10     floating point trap
+.lp +10 5
+11     segmentation violation
+.i0
+.s3
+In some of these cases it is
+possible for octal 20 to be added into the trap type;
+this indicates that the processor was in user mode when the trap occurred.
+If you wish to examine the stack after such a trap,
+either dump the system, or use the console switches to examine core;
+the required address mapping is described below.
+.s3
+.it "Interpreting dumps.||"
+All file system problems
+should be taken care of before attempting to look at dumps.
+The dump should be read into the file
+.it /usr/sys/core;
+.it cp
+(I) will do.
+At this point, you should execute
+.it "ps \*-alxk"
+and
+.it who
+to print the process table and the users who were on
+at the time of the crash.
+You should dump (
+.it od
+(I))
+the first 30 bytes of
+.it /usr/sys/core.
+Starting at location 4,
+the registers R0, R1, R2, R3, R4, R5, SP
+and KDSA6 (KISA6 for 11/40s) are stored.
+If the dump had to be restarted,
+R0 will not be correct.
+Next, take the value of KA6 (location 22(8) in the dump)
+multiplied by 100(8) and dump 1000(8) bytes starting from there.
+This is the per-process data associated with the process running
+at the time of the crash.
+Relabel
+the addresses 140000 to 141776.
+R5 is C's frame or display pointer.
+Stored at (R5) is the old R5 pointing to the previous
+stack frame.
+At (R5)+2
+is the saved PC of the calling procedure.
+Trace
+this calling chain until
+you obtain an R5 value of 141756, which
+is where the user's R5 is stored.
+If the chain is broken,
+you have to look for a plausible
+R5, PC pair and continue from there.
+Each PC should be looked up in the system's name list
+using
+.it db
+(I) and its `:' command,
+to get a reverse calling order.
+In most cases this procedure will give
+an idea of what is wrong.
+A more complete discussion
+of system debugging is impossible here.
+.sh "SEE ALSO"
+clri, icheck, dcheck, boot procedures (VIII)
+.sh BUGS
diff --git a/usr/doc/man/man8/cron.8 b/usr/doc/man/man8/cron.8
new file mode 100644 (file)
index 0000000..45345b1
--- /dev/null
@@ -0,0 +1,74 @@
+.th CRON VIII 10/25/74
+.sh NAME
+cron \*- clock daemon
+.sh SYNOPSIS
+.bd /etc/cron
+.sh DESCRIPTION
+.it Cron
+executes commands at specified dates and times
+according to the instructions in the file
+/usr/lib/crontab.
+Since
+.it cron
+never exits,
+it should only be executed once.
+This is best done by running
+.it cron
+from the initialization
+process through the file
+/etc/rc;
+see
+.it init
+(VIII).
+.s2
+Crontab
+consists of lines of six fields each.
+The fields are separated by spaces or tabs.
+The first five are integer patterns to
+specify the
+minute (0-59),
+hour (0-23),
+day of the month (1-31),
+month of the year (1-12),
+and day of the week (1-7 with 1=monday).
+Each of these patterns may
+contain a number in the range above;
+two numbers separated by
+a minus
+meaning a range inclusive;
+a list of numbers separated by
+commas meaning any of the numbers;
+or an asterisk meaning all legal values.
+The sixth field is a string
+that is executed by the Shell at the
+specified times.
+A percent character
+in this field is translated to a new-line
+character.
+Only the first line (up to a % or end of line)
+of the command field is executed by the Shell.
+The other lines are made available to the
+command as standard input.
+.s2
+Crontab is examined by
+.it cron
+every hour.
+Thus it could take up to an hour
+for entries to become effective.
+If it receives
+a hangup signal, however, the table is examined immediately;
+so `kill \-1 ...' can be used.
+.sh FILES
+/usr/lib/crontab
+.sh "SEE ALSO"
+init(VIII), sh(I), kill (I)
+.sh DIAGNOSTICS
+None \- illegal lines in
+crontab are ignored.
+.sh BUGS
+A more efficient algorithm could be used.
+The overhead in running
+.it cron
+is about one percent of the
+machine,
+exclusive of any commands executed.
diff --git a/usr/doc/man/man8/dcheck.8 b/usr/doc/man/man8/dcheck.8
new file mode 100644 (file)
index 0000000..68ed357
--- /dev/null
@@ -0,0 +1,56 @@
+.th DCHECK VIII 2/8/75
+.sh NAME
+dcheck \*- file system directory consistency check
+.sh SYNOPSIS
+.bd dcheck
+[
+.bd \*-i
+numbers ]
+[ filesystem ]
+.sh DESCRIPTION
+.it Dcheck
+reads the directories in a file system
+and compares
+the link-count in each i-node with the number of directory
+entries by which it is referenced.
+If the file system is not specified,
+a set of default file systems
+is checked.
+.s3
+The
+.bd \*-i
+flag
+is followed by a list of i-numbers;
+when one of those i-numbers turns up
+in a directory,
+the number, the i-number of the directory,
+and the name of the entry are reported.
+.s3
+The program is fastest if the
+raw version of the special file is used,
+since the i-list is read in large chunks.
+.sh FILES
+Currently,
+/dev/rrk2 and /dev/rrp0 are the default file systems.
+.sh DIAGNOSTICS
+When a file turns up for which the link-count and the number
+of directory entries disagree,
+the relevant facts are reported.
+Allocated files which have 0 link-count and no entries are also
+listed.
+The only dangerous situation
+occurs when there are more entries than links;
+if entries are removed,
+so the link-count drops to 0,
+the remaining entries point to thin air.
+They should be removed.
+When there are more links than entries, or there is
+an allocated file with neither links nor entries,
+some disk space may be lost but the situation will not degenerate.
+.sh "SEE ALSO"
+icheck (VIII), fs (V), clri (VIII), ncheck (VIII)
+.sh BUGS
+Since
+.it dcheck
+is inherently two-pass in nature, extraneous diagnostics
+may be produced if applied to active file systems.
diff --git a/usr/doc/man/man8/df.8 b/usr/doc/man/man8/df.8
new file mode 100644 (file)
index 0000000..3aafb15
--- /dev/null
@@ -0,0 +1,21 @@
+.th DF VIII 1/20/73
+.sh NAME
+df \*- disk free
+.sh SYNOPSIS
+.bd df
+[ filesystem ]
+.sh DESCRIPTION
+.it Df
+prints out the number of free blocks
+available on a file system.
+If the file system is unspecified,
+the free space on all of
+the normally mounted file systems
+is printed.
+.sh FILES
+/dev/rf?,
+/dev/rk?,
+/dev/rp?
+.sh "SEE ALSO"
+icheck (VIII)
+.sh BUGS
diff --git a/usr/doc/man/man8/dpd.8 b/usr/doc/man/man8/dpd.8
new file mode 100644 (file)
index 0000000..0e3815d
--- /dev/null
@@ -0,0 +1,88 @@
+.th DPD VIII 3/15/72
+.sh NAME
+dpd \*- data phone daemon
+.sh SYNOPSIS
+.bd /etc/dpd
+.sh DESCRIPTION
+.it Dpd
+is the 201 data phone daemon.
+It is designed to submit jobs to
+the Honeywell 6070 computer via the GRTS
+interface.
+.s3
+.it Dpd
+uses the directory
+.it /usr/dpd.
+The file
+.it lock
+in that directory
+is used
+to prevent two daemons from becoming active.
+After the daemon has successfully set the lock,
+it forks and the main path exits, thus
+spawning the daemon.
+The directory is scanned for files
+beginning with
+.bd df.
+Each such file is submitted as a job.
+Each line of a job file must begin with a key
+character to specify what to do with the remainder
+of the line.
+.s3
+.lp +5 3
+\fBS\fR        directs
+.it dpd
+to generate a unique snumb card.
+This card is generated by incrementing the first
+word of the
+file
+.it /usr/dpd/snumb
+and converting that to three-digit octal concatenated with
+the station ID.
+.s3
+.lp +5 3
+\fBL\fR        specifies that the remainder of the line is to
+be sent as a literal.
+.s3
+.lp +5 3
+\fBB\fR        specifies that the rest of the line
+is a file name.
+That file is to
+be sent as binary cards.
+.s3
+.lp +5 3
+\fBF\fR        is the same as \fBB\fR except a form feed is prepended to the file.
+.s3
+.lp +5 3
+\fBU\fR        specifies that the rest of the line
+is a file name.
+After the job has been transmitted,
+the file is unlinked.
+.s3
+.lp +5 3
+\fBM\fR        is followed by a user ID; after the job is sent,
+the snumb number and the first line of information in the
+file is mailed to the user
+to verify the sending of the job.
+.s3
+.i0
+Any error encountered will cause the daemon to
+drop the call, wait up to 20 minutes and start over.
+This means that an improperly constructed
+\fIdf\fR file may cause the same job to be submitted
+every 20 minutes.
+.s3
+While waiting, the
+daemon checks to
+see that the
+.it lock
+file still exists.
+If it is gone,
+the
+daemon will exit.
+.sh FILES
+/dev/dn0,
+/dev/dp0,
+/usr/dpd/*
+.sh "SEE ALSO"
+opr (I)
diff --git a/usr/doc/man/man8/dump.8 b/usr/doc/man/man8/dump.8
new file mode 100644 (file)
index 0000000..a743cab
--- /dev/null
@@ -0,0 +1,132 @@
+.th DUMP VIII 11/24/73
+.sh NAME
+dump \*- incremental file system dump
+.sh SYNOPSIS
+.bd dump
+[ key [ arguments ] filesystem ]
+.sh DESCRIPTION
+.it Dump
+makes an incremental file system dump
+on magtape
+of all files changed after a certain date.
+The
+.it key
+argument
+specifies the date and other options about the dump.
+.it Key
+consists of characters from
+the set
+.bd abcfiu0hds.
+.s3
+.lp +5 5
+\fBa\fR        Normally files
+larger than 1000 blocks are not incrementally dump;
+this flag forces them to be dumped.
+.s3
+.lp +5 5
+\fBb\fR        The next argument is taken to be the maximum size
+of the dump tape in blocks (see \fBs\fR).
+.s3
+.lp +5 5
+\fBc\fR        If the tape overflows, increment the last character
+of its name and continue on that drive.
+(Normally it asks you to change tapes.)
+.s3
+.lp +5 5
+\fBf\fR        Place the dump on the next argument file
+instead of the tape.
+.s3
+.lp +5 5
+\fBi\fR        the
+dump date is taken from the entry in the file
+/etc/dtab
+corresponding to the last time
+this file system was dumped with
+the
+.bd -u
+option.
+.s3
+.lp +5 5
+\fBu\fR        the date just prior to this dump
+is written on
+/etc/dtab
+upon successful completion of this dump.
+This file contains a date for every
+file system dumped with
+this
+option.
+.s3
+.lp +5 5
+\fB0\fR        the dump date is taken as the epoch
+(beginning of time).
+Thus this option causes an entire file system dump to be taken.
+.s3
+.lp +5 5
+\fBh\fR        the dump date is some number of hours before the current date.
+The number of hours is taken from the next argument in
+.it arguments.
+.s3
+.lp +5 5
+\fBd\fR        the dump date is some number of days before the current date.
+The number of days is taken from the next argument in
+.it arguments.
+.s3
+.lp +5 5
+\fBs\fR        the size of the dump tape is specified in feet.
+The number of feet is taken from the next argument in
+.it arguments.
+It is assumed that there are 9 standard UNIX records per foot.
+When the specified size is reached,
+the dump will wait for reels to be changed.
+The default size is 2200 feet.
+.s3
+.i0
+.dt
+.dt
+If no arguments are given,
+the
+.it key
+is assumed to be
+.bd i
+and the file system is
+assumed to be
+/dev/rp0.
+.s3
+Full dumps
+should be taken on quiet file systems as follows:
+.s3
+       dump 0u /dev/rp0
+.br
+       ncheck /dev/rp0
+.s3
+The
+.it ncheck
+will come in handy in case it is necessary
+to restore individual files from this dump.
+Incremental dumps should then be taken
+when desired by:
+.s3
+       dump
+.s3
+When the incremental dumps get cumbersome,
+a new complete dump should be taken.
+In this way,
+a restore requires
+loading of the complete dump tape and only the latest incremental tape.
+.sh DIAGNOSTICS
+If the dump requires more than one tape,
+it will ask you to change tapes.
+Reply with a new-line when this has been done.
+If the first block on the new tape is not writable,
+e.g. because you forgot the write ring,
+you get a chance to fix it.
+Generally, however, read or write failures are fatal.
+.sh FILES
+/dev/mt0       magtape
+.br
+/dev/rp0       default file system
+.br
+/etc/dtab
+.sh "SEE ALSO"
+restor (VIII), ncheck (VIII), dump (V)
+.sh BUGS
diff --git a/usr/doc/man/man8/getty.8 b/usr/doc/man/man8/getty.8
new file mode 100644 (file)
index 0000000..6db9e06
--- /dev/null
@@ -0,0 +1,70 @@
+.th GETTY VIII 2/11/75
+.sh NAME
+getty  \*- set typewriter mode
+.sh SYNOPSIS
+.bd /etc/getty
+[ char ]
+.sh DESCRIPTION
+.it Getty
+is invoked
+by
+.it init
+(VIII)
+immediately after a typewriter is opened
+following a dial-up.
+It reads the user's name and invokes the
+.it login
+command
+(I)
+with the name as argument.
+While reading the name
+.it getty
+attempts to adapt the system to the speed and type of terminal
+being used.
+.s3
+.it Init
+calls
+.it getty
+with an argument specified by the
+.it ttys
+file entry for the typewriter line.
+Arguments other than `0' can be used to make
+.it getty
+treat the line specially.
+Normally, it
+sets the speed of the interface to 300 baud,
+specifies that raw mode is to be used (break on every character),
+that echo is to be suppressed, and either parity
+allowed.
+It types the ``login:'' message,
+which includes the characters which put the Terminet 300
+terminal into full-duplex and
+return the GSI terminal to non-graphic mode.
+Then the user's name is read, a character at a time.
+If a null character is received, it is assumed to be the result
+of the user pushing the ``break'' (``interrupt'') key.
+The speed is then
+changed to 150 baud and the ``login:'' is typed again,
+this time including the character
+sequence which puts a Teletype 37
+into full-duplex.
+If a subsequent null character is received,
+the speed is changed back to 300 baud.
+.s3
+The user's name is terminated by a new-line or
+carriage-return character.
+The latter results in the system being set to
+treat carriage returns appropriately (see
+.it stty
+(II)).
+.s3
+The user's name is scanned to see if
+it contains any lower-case alphabetic characters; if not,
+and if the name is nonempty, the
+system is told to map any future upper-case characters
+into the corresponding lower-case characters.
+.s3
+Finally, login is called with the user's name as argument.
+.sh "SEE ALSO"
+init (VIII), login (I), stty (II), ttys (V)
+.sh BUGS
diff --git a/usr/doc/man/man8/glob.8 b/usr/doc/man/man8/glob.8
new file mode 100644 (file)
index 0000000..1b66ca3
--- /dev/null
@@ -0,0 +1,21 @@
+.th GLOB VIII 9/19/73
+.sh NAME
+glob \*- generate command arguments
+.sh SYNOPSIS
+.bd /etc/glob
+command [ arguments ]
+.sh DESCRIPTION
+.it Glob
+is used to expand arguments to the shell containing ``*'', ``['', or
+``?''.
+It is passed the argument list
+containing the metacharacters;
+.it glob
+expands the list and calls the indicated command.
+The actions of 
+.it glob
+are detailed in
+the Shell writeup.
+.sh SEE ALSO"
+sh (I)
+.sh BUGS
diff --git a/usr/doc/man/man8/icheck.8 b/usr/doc/man/man8/icheck.8
new file mode 100644 (file)
index 0000000..a5ed9e4
--- /dev/null
@@ -0,0 +1,105 @@
+.th ICHECK VIII 2/9/75
+.sh NAME
+icheck \*- file system storage consistency check
+.sh SYNOPSIS
+.bd icheck
+[
+.bd \*-s
+]  [
+.bd \*-b
+numbers ]
+[ filesystem ]
+.sh DESCRIPTION
+.it Icheck
+examines a file system,
+builds a bit map of used blocks,
+and compares this bit map against
+the free list maintained on the file system.
+If the file system is not specified,
+a set of default file systems
+is checked.
+The normal output of
+.it icheck
+includes a report of
+.s3
+.lp +4 0
+The number of blocks missing; i.e. not in any file
+nor in the free list,
+.lp +4 0
+The number of special files,
+.lp +4 0
+The total number of files,
+.lp +4 0
+The number of large and huge files,
+.lp +4 0
+The number of directories,
+.lp +4 0
+The number of indirect blocks,
+and the number of double-indirect blocks in huge files,
+.lp +4 0
+The number of blocks used in files,
+.lp +4 0
+The number of free blocks.
+.s3
+.i0
+The
+.bd \*-s
+flag causes
+.it icheck
+to ignore the actual free list and reconstruct a new one
+by rewriting the super-block of the file system.
+The file system should be dismounted while this is done;
+if this is not possible (for example if
+the root file system has to be salvaged)
+care should be taken that the system is quiescent and that
+it is rebooted immediately afterwards so that the old, bad in-core
+copy of the super-block will not continue to be used.
+Notice also that
+the words in the super-block
+which indicate the size of the free list and of the
+i-list are believed.
+If the super-block has been curdled
+these words will have to be patched.
+The
+.bd \*-s
+flag
+causes the normal output reports to be suppressed.
+.s3
+Following the
+.bd \-b
+flag is a list of block numbers;
+whenever any of the named blocks turns up in a file,
+a diagnostic is produced.
+.s3
+.it Icheck
+is faster if the raw version of the special file is used,
+since it reads the i-list many blocks at a time.
+.sh FILES
+Currently, /dev/rrk2
+and /dev/rrp0
+are the default file systems.
+.sh "SEE ALSO"
+dcheck (VIII), ncheck (VIII),
+fs (V), clri (VIII), restor(VIII)
+.sh DIAGNOSTICS
+For duplicate blocks
+and bad blocks (which lie outside the file system)
+.it icheck
+announces the difficulty, the i-number, and the kind of block involved.
+If a read error is encountered,
+the block number of the bad block is printed and
+.it icheck
+considers it to contain 0.
+``Bad freeblock'' means that
+a block number outside the available space was encountered in the free list.
+``\fIn\fR dups in free''
+means that \fIn\fR blocks were found in the free list which
+duplicate blocks either in some file or in the earlier part of the free list.
+.sh BUGS
+Since
+.it icheck
+is inherently two-pass in nature, extraneous diagnostics
+may be produced if applied to active file systems.
+.br
+It believes even preposterous super-blocks and
+consequently can get core images.
diff --git a/usr/doc/man/man8/init.8 b/usr/doc/man/man8/init.8
new file mode 100644 (file)
index 0000000..60102df
--- /dev/null
@@ -0,0 +1,109 @@
+.th INIT VIII 2/22/74
+.sh NAME
+init  \*-  process control initialization
+.sh SYNOPSIS
+.bd /etc/init
+.sh DESCRIPTION
+.it Init
+is invoked inside UNIX as the last step in the boot procedure.
+Generally its role is to create a process for each
+typewriter on which a user may log in.
+.s3
+First,
+.it init
+checks
+to see if the console switches contain 173030.
+(This number is likely to vary between
+systems.)
+If so, the console typewriter
+.bd /dev/tty8
+is opened for reading
+and writing and the Shell is invoked immediately.
+This feature is used to bring up a single-user system.
+When the system is brought up in this way, the
+.it getty
+and
+.it login
+routines mentioned below and described elsewhere are not used.
+If the Shell terminates,
+.it init
+starts over looking for the
+console switch setting.
+.s3
+Otherwise, \fIinit\fR
+invokes a Shell, with input taken from the
+file
+.it /etc/rc.
+This command file
+performs housekeeping
+like removing temporary files,
+mounting file systems, and starting
+daemons.
+.s3
+Then
+.it init
+reads the file
+.it /etc/ttys
+and
+forks several times to create a process
+for each typewriter specified in the file.
+Each of these processes opens the appropriate typewriter
+for reading and writing.  These channels thus
+receive file descriptors 0 and 1, the standard input and
+output.
+Opening the typewriter will usually involve a delay,
+since the \fIopen\fR is not completed until someone
+is dialed up and carrier established on the channel.
+Then
+.it /etc/getty
+is called with argument as specified by the last character of
+the
+.it ttys
+file line.
+.it Getty
+reads the user's name and invokes
+.it login
+(q.v.)
+to log in the user and execute the Shell.
+.s3
+Ultimately the Shell will terminate
+because of an end-of-file either
+typed explicitly or generated as a result of hanging up.
+The main path of \fIinit\fR, which has been waiting
+for such an event,
+wakes up and removes the appropriate entry from the
+file \fIutmp\fR, which records current users, and
+makes an entry in \fI/usr/adm/wtmp\fR, which maintains a history
+of logins and logouts.
+Then the appropriate typewriter is reopened and
+.it getty
+is
+reinvoked.
+.s3
+.it Init
+catches the
+.it hangup
+signal (signal #1) and interprets it to mean that
+the
+switches should be examined as in a reboot: if they
+indicate a multi-user system, the
+.it /etc/ttys
+file is read again.
+The Shell process on each line which used to be active
+in
+.it ttys
+but is no longer there is terminated;
+a new process is created for each added line;
+lines unchanged in the file are undisturbed.
+Thus it is possible to drop or add phone lines without
+rebooting the system by changing the
+.it ttys
+file and sending a
+.it hangup
+signal to the
+.it init
+process: use ``kill \*-1 1.''
+.sh FILES
+/dev/tty?, /etc/utmp, /usr/adm/wtmp, /etc/ttys, /etc/rc
+.sh "SEE ALSO"
+login (I), kill (I), sh (I), ttys (V), getty (VIII)
diff --git a/usr/doc/man/man8/lpd.8 b/usr/doc/man/man8/lpd.8
new file mode 100644 (file)
index 0000000..4ee4007
--- /dev/null
@@ -0,0 +1,31 @@
+.th LPD VIII 6/1/74
+.sh NAME
+lpd \*- line printer daemon
+.sh SYNOPSIS
+.bd /etc/lpd
+.sh DESCRIPTION
+.it Lpd
+is the line printer daemon (spool area handler)
+invoked by
+.it opr.
+It uses the directory
+.it /usr/lpd.
+The file
+.it lock
+in that directory
+is used to prevent two daemons from becoming
+active simultaneously.
+After the daemon has successfully set the lock,
+it scans the directory for files
+beginning with ``df.''
+Lines in each
+.it df
+file specify files to be printed
+in the same way as is done by the data-phone daemon dpd (VIII).
+.sh FILES
+/usr/lpd/*     spool area
+.br
+/dev/lp        printer
+.sh "SEE ALSO"
+dpd (VIII), opr (I)
+.sh BUGS
diff --git a/usr/doc/man/man8/mknod.8 b/usr/doc/man/man8/mknod.8
new file mode 100644 (file)
index 0000000..b8ecec2
--- /dev/null
@@ -0,0 +1,40 @@
+.th MKNOD VIII 2/11/75
+.sh NAME
+mknod \*- build special file
+.sh SYNOPSIS
+.bd /etc/mknod
+name
+[
+.bd c
+] [
+.bd b
+]
+major
+minor
+.sh DESCRIPTION
+.it Mknod
+makes a directory entry and corresponding i-node
+for a special file.
+The first argument is the
+.it name
+of the entry.
+The second is
+.bd b
+if the special file is block-type (disks, tape) or
+.bd c
+if it is character-type (other devices).
+The last two arguments are
+numbers specifying the
+.it major
+device type
+and the
+.it minor
+device (e.g. unit, drive, or line number).
+.s3
+The assignment of major device numbers is specific to each system.
+They have to be dug out of the
+system source file
+.it conf.c.
+.sh "SEE ALSO"
+mknod (II)
+.sh BUGS
diff --git a/usr/doc/man/man8/mount.8 b/usr/doc/man/man8/mount.8
new file mode 100644 (file)
index 0000000..967e0b7
--- /dev/null
@@ -0,0 +1,37 @@
+.th MOUNT VIII  10/31/73
+.sh NAME
+mount \*- mount file system
+.sh SYNOPSIS
+.bd /etc/mount
+special file [
+.bd \*-r
+]
+.sh DESCRIPTION
+.it Mount
+announces to the system that a removable file system
+is present on the device corresponding to special
+file
+.it special
+(which must refer to a disk or possibly DECtape).
+The
+.it file
+must exist already; it
+becomes the name of the root of the newly mounted
+file system.
+.s3
+.it Mount
+maintains a table of mounted devices;
+if invoked without an argument it prints the table.
+.s3
+The optional last argument indicates that the file
+is to be mounted read-only.
+Physically write-protected and magnetic tape file
+systems must be mounted in this way
+or errors will occur when access times are updated,
+whether or not any explicit write is attempted.
+.sh "SEE ALSO"
+mount (II),
+mtab (V),
+umount (VIII)
+.sh BUGS
+Mounting file systems full of garbage will crash the system.
diff --git a/usr/doc/man/man8/restor.8 b/usr/doc/man/man8/restor.8
new file mode 100644 (file)
index 0000000..6a831a7
--- /dev/null
@@ -0,0 +1,127 @@
+.th RESTOR VIII 11/24/73
+.sh NAME
+restor \*- incremental file system restore
+.sh SYNOPSIS
+.bd restor
+key [ arguments ]
+.sh DESCRIPTION
+.it Restor
+is used to read magtapes dumped with the
+.it dump
+command.
+The
+.it key
+argument specifies what is to be done.
+.it Key
+is a character from the set
+.bd trxw.
+.s3
+.lp +5 3
+\fBt\fR        The date that the tape was made and the date that
+was specified in the
+.it dump
+command are printed.
+A list of all of the i-numbers on the tape
+is also given.
+.s3
+.lp +5 3
+\fBr\fR        The tape
+is read and loaded into the file system
+specified in
+.it arguments.
+This should not be done lightly (see below).
+.s3
+.lp +5 3
+\fBx\fR        Each file on the
+tape is individually extracted into
+a file whose name is the file's i-number.
+If
+there are
+.it arguments,
+they are interpreted as i-numbers and only they are
+extracted.
+.s3
+.lp +5 3
+\fBc\fR        If the tape overflows, increment the last character
+of its name and continue on that drive.
+(Normally it asks you to change tapes.)
+.s3
+.lp +5 3
+\fBf\fR        Read the dump from the next argument file
+instead of the tape.
+.s3
+.lp +5 3
+\fBi\fR        All read and checksum errors
+are reported, but will not
+cause termination.
+.s3
+.lp +5 3
+\fBw\fR        In conjunction with the
+.bd x
+option,
+before each file is extracted,
+its i-number is typed out.
+To extract this file,
+you must respond with
+.bd y.
+.s3
+.i0
+The
+.bd x
+option is used to retrieve individual files.
+If the i-number of the desired file is not known,
+it can be discovered by following the file system
+directory search algorithm.
+First retrieve the
+.it root
+directory whose i-number is 1.
+List this file with
+.it "ls \*-fi 1."
+This will give names and i-numbers of
+sub-directories.
+Iterating, any file may be retrieved.
+.s3
+The
+.bd r
+option should only be used to restore
+a complete dump tape onto a clear file system
+or to restore an incremental dump tape onto this.
+Thus
+.s3
+       /etc/mkfs /dev/rp0 40600
+.br
+       restor r /dev/rp0
+.s3
+is a typical sequence to restore a complete dump.
+Another
+.it restor
+can be done to get an incremental dump
+in on top of this.
+.s3
+A
+.it dump
+followed by a
+.it mkfs
+and a
+.it restor
+is used to
+change the size of a file system.
+.sh FILES
+/dev/mt0
+.sh "SEE ALSO"
+ls (I), dump (VIII), mkfs (VIII), clri (VIII)
+.sh DIAGNOSTICS
+There are various diagnostics
+involved with reading the tape and writing the disk.
+There are also diagnostics if the i-list or the free list
+of the file system is not large enough to hold the dump.
+.s3
+If the dump extends over more than one tape,
+it may ask you to change tapes.
+Reply with a new-line when the next tape has been mounted.
+.sh BUGS
+There is redundant information on the tape
+that could be used in case of tape reading problems.
+Unfortunately,
+.it restor's
+approach is to exit if anything is wrong.
diff --git a/usr/doc/man/man8/sync.8 b/usr/doc/man/man8/sync.8
new file mode 100644 (file)
index 0000000..246309d
--- /dev/null
@@ -0,0 +1,18 @@
+.th SYNC VIII 11/1/73
+.sh NAME
+sync \*- update the super block
+.sh SYNOPSIS
+.bd sync
+.sh DESCRIPTION
+.it Sync
+executes the
+.it sync
+system primitive.
+If the system is to be stopped,
+.it sync
+must be called to insure
+file system integrity.
+See sync (II) for details.
+.sh "SEE ALSO"
+sync (II)
+.sh BUGS
diff --git a/usr/doc/man/man8/wall.8 b/usr/doc/man/man8/wall.8
new file mode 100644 (file)
index 0000000..e447896
--- /dev/null
@@ -0,0 +1,24 @@
+.th WALL VIII 4/10/75
+.sh NAME
+wall  \*-  write to all users
+.sh SYNOPSIS
+.bd /etc/wall
+.sh DESCRIPTION
+.it Wall
+reads its standard input until an end-of-file.
+It then sends this message to all currently
+logged in users preceded by
+``Broadcast Message ...''.
+It is used to warn all users,
+typically prior to shutting down the system.
+.s3
+The sender should be super-user to override
+any protections the users may have invoked.
+.sh FILES
+/dev/tty?
+.sh "SEE ALSO"
+mesg (I), write (I)
+.sh DIAGNOSTICS
+``Cannot send to ...'' when the open on
+a user's tty file fails.
+.sh BUGS