home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8043 < prev    next >
Encoding:
Text File  |  1992-07-21  |  2.3 KB  |  53 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!spillman!tye
  3. From: tye@spillman.uucp (E. Tye McQueen)
  4. Subject: Verbose option for "restore -T -f-"?
  5. Message-ID: <1992Jul22.003311.16587@spillman.uucp>
  6. Date: Wed, 22 Jul 1992 00:33:11 GMT
  7. Organization: Spillman Data Systems
  8. Lines: 43
  9.  
  10. So how do you get "restore -T" to list more than just file names?
  11. I would like to know *at least* file sizes.  I've tried
  12.  
  13.     rcmd node cat /dev/rst0 | restore -T -v -f-
  14.  
  15. just because tar and cpio both overload the "v" option to indicate
  16. "long format" listing when doing tables of contents.  But "-v"
  17. seems to have no effect when combined with "-T".  I couldn't find
  18. anything in "man restore" (though IBM's formatting of man pages
  19. doesn't make it easy to find things) and I don't wish to endure the
  20. hours of torture trying to coax any info out of "info" (because I
  21. doubt what I'm looking for is there anyway).
  22.  
  23. At one point it looked like IBM's "backup" was really just a front-
  24. end for "cpio" and "dump" that preceeded the archive with a header
  25. saying who made this backup when, using what method, etc.  But,
  26. although there is something that looks very much like a cpio header
  27. about 160 bytes into the tape, it is neither a "cpio -o" nor "cpio
  28. -oc" header for an RS/6000.  The "-oc" header starts "070707" and
  29. there is a "\00\07\00\07\00\07" (three nulls with three "bell"s)
  30. on the tape: close but no cigar.
  31.  
  32. I was hoping I could skip the "backup" header and use cpio directly
  33. to get "cpio -itv" to do what I want.  It would be even nicer if
  34. there was a way to restore the files to a machine other than an
  35. RS/6000 (where I have more disk space).
  36.  
  37. I don't have the free disk space on the RS/6000 to restore the whole
  38. tape just to figure out which files I do have space for.
  39.  
  40. My questions has now become more a matter of curiosity because I
  41. will probably end up having the client make another tape and make
  42. sure he uses cpio to write it this time.
  43.  
  44. I haven't noticed this discussed before so please accept my apology
  45. if it has been a recent topic of conversation.  I do mostly only
  46. browse subject lines due to the volume in this newsgroup.
  47.  
  48. Thanks,
  49.  tye@spillman.com                         Tye McQueen, E.
  50. ----------------------------------------------------------
  51.  Nothing is obvious unless you are overlooking something. 
  52. ----------------------------------------------------------
  53.