[net.bugs.4bsd] Restore

kiely@lownlab.UUCP (James P. Kiely) (11/12/85)

Subject: restore(8) manual page missing some options
Index:	man/man8/restore.8 4.2BSD

Description:
	The manual page for restore(8) is missing descriptions of the
	"s", "c", and "d" keys.

Fix:
Here are the diffs: (rcsdiffs)
-------------------------------------------------------------------------

*** /tmp/,RCSt1025820	Mon Nov 11 15:29:08 1985
--- /tmp/,RCSt2025820	Mon Nov 11 15:29:12 1985
***************
*** 1,3
  .TH RESTORE 8 "19 January 1983"
  .UC 4
  .SH NAME

--- 1,4 -----
+ .\" $Header: restore.8,v 1.1.1.2 85/11/11 15:00:01 kiely Exp $
  .TH RESTORE 8 "19 January 1983"
  .UC 4
  .SH NAME
***************
*** 70,76
  .I restore
  is used to change the size of a file system.
  .TP 5n
! .B  R
  .I Restore
  requests a particular tape of a multi volume set on which to restart
  a full restore

--- 71,77 -----
  .I restore
  is used to change the size of a file system.
  .TP 5n
! .B R
  .I Restore
  requests a particular tape of a multi volume set on which to restart
  a full restore
***************
*** 81,86
  .I restore
  to be interrupted and then restarted.
  .TP 5n
  .B  x
  The named files are extracted from the tape.
  If the named file matches a directory whose contents 

--- 82,95 -----
  .I restore
  to be interrupted and then restarted.
  .TP 5n
+ .B s
+ .I Restore
+ \fBs\fRkips to a particular file on the tape for
+ tapes with multi-file dumps on them.
+ Tape files are numbered starting from
+ .B 1
+ for the first file.
+ .TP 5n
  .B  x
  The named files are extracted from the tape.
  If the named file matches a directory whose contents 
***************
*** 256,261
  rather than the files that it references.
  This prevents hierarchical restoration of complete subtrees
  from the tape.
  .SH DIAGNOSTICS
  Complaints about bad key characters.
  .PP

--- 265,283 -----
  rather than the files that it references.
  This prevents hierarchical restoration of complete subtrees
  from the tape.
+ .TP 5n
+ .B c
+ .I Restore
+ converts old
+ .I (4.1BSD)
+ directories to new
+ .I (4.2BSD)
+ directory format.
+ .TP %n
+ .B d
+ .I Restore
+ prints a great deal of debugging information on the
+ controlling terminal.
  .SH DIAGNOSTICS
  Complaints about bad key characters.
  .PP

woods@hao.UUCP (Greg Woods) (09/26/86)

  I have found what I think is a bug in restore(8) on a VAX 750 under 4.2BSD.
I would like to know if anyone else has seen it and if there is a fix for it
(I'd settle for a way to get around it). I want to restore a directory from
a dump tape that has a LOT of files in it (too many to type them all in
individually), and just a few subdirectories. Unfortunately, those sub-
directories contain some very large files that I don't want and which won't
all fit on the disk with its current contents. So, I tried typing "add .",
which seems to work (it has worked in the past to restore heirarchies, and
cd'ing around and using "ls" shows that everything is properly marked for
extraction). The problem comes in that when I try to delete the subdirectories
I don't want, it always says 

file: not on extraction list

Tnis despite the fact that "ls" marks it with a "*" (which supposedly indicates
that it IS on the extraction list).
   I have tried "./dir", "dir", "/woods/dir", cd / and delete woods/dir, all
with the same result. So, is this a bug or am I reading the man page wrong?
It seems as though ANY of those should work but none of them do. I have also
tried the same things with individual files instead of directories, also with 
the same negative results. Is there ANY way to extract all but a few files 
under a given directory without typing in all the &%#@*! names by hand?

--Greg