summaryrefslogtreecommitdiffstats
path: root/sbin/restore
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-08-11 10:37:39 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-08-11 10:37:39 +0000
commit27d24158a4d24ea51de2e8d931d9394a2771a35e (patch)
treea0946dc3ef02123744cb8a1de8872f3d73c42450 /sbin/restore
parent7b84c21af715b5c63f5604d13d50db90e06e0661 (diff)
downloadFreeBSD-src-27d24158a4d24ea51de2e8d931d9394a2771a35e.zip
FreeBSD-src-27d24158a4d24ea51de2e8d931d9394a2771a35e.tar.gz
Add text from NetBSD's rev 1.12 which should have accompanied
the changes made to our own source on 1997-01-01. PR: 20445 Submitted by: Jon Masami Kuroda <jkuroda@eecs.berkeley.edu>
Diffstat (limited to 'sbin/restore')
-rw-r--r--sbin/restore/restore.822
1 files changed, 22 insertions, 0 deletions
diff --git a/sbin/restore/restore.8 b/sbin/restore/restore.8
index f91184c..af81e86 100644
--- a/sbin/restore/restore.8
+++ b/sbin/restore/restore.8
@@ -444,6 +444,28 @@ To do a network restore, you have to run restore as root. This is due
to the previous security history of dump and restore. (restore is
written to be setuid root, but we are not certain all bugs are gone
from the restore code - run setuid at your own risk.)
+.Pp
+The temporary files
+.Pa /tmp/rstdir*
+and
+.Pa /tmp/rstmode*
+are generated with a unique name based on the date of the dump
+and the process ID (see
+.Xr mktemp 3 ),
+except for when
+.Fl r
+or
+.Fl R
+is used.
+Because
+.Fl R
+allows you to restart a
+.Fl r
+operation that may have been interrupted, the temporary files should
+be the same across different processes.
+In all other cases, the files are unique because it is possible to
+have two different dumps started at the same time, and separate
+operations shouldn't conflict with each other.
.Sh HISTORY
The
.Nm restore
OpenPOWER on IntegriCloud