home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4714 < prev    next >
Encoding:
Text File  |  1992-08-25  |  2.0 KB  |  63 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!nuscc!ntuix!eoahmad
  3. From: eoahmad@ntuix.ntu.ac.sg (Othman Ahmad)
  4. Subject: tar 'multivolume' bugs and workaround workound
  5. Message-ID: <1992Aug26.041547.26517@ntuix.ntu.ac.sg>
  6. Organization: Nanyang Technological University - Singapore
  7. Date: Wed, 26 Aug 1992 04:15:47 GMT
  8. Lines: 53
  9.  
  10. gnu tar 1.10 which comes with 386bsd bin01 distribution "cannot" do multivolume
  11. compressed backup but can do uncompressed multivolume backup.
  12.  
  13. There is a need to reduce the temporary file storage for systems with limited
  14. disk space. 0.1 method of distribution requires that the entire files must
  15. first be loaded before they can be extracted.
  16.     0.0 was better because it does not have to so was much faster and
  17. does not require a lot of tmp space.
  18.  
  19. The solution was that I used to backup my root device is to
  20.  
  21. tar -cvpzf ar.tar.Z
  22. tar -cvMf /dev/rfd1a
  23.  
  24. To extract: the O option extracts to stdout instead of to files
  25.  
  26. tar -xMOf /dev/rfd1a | tar xvzf -
  27.  
  28. I do not manage to recover the symbolic links. Maybe I missed some options.
  29.  
  30. Someone who wants to extract bin01, may try my method like this. This is only
  31. an idea. I do not need to do it because I have sufficient disk space(60Mbyte).
  32.  
  33.  
  34. cd /tmp
  35. mread "a:*.*" . ; for all disks
  36. tar -cvMf /dev/rfd1a
  37.  
  38. ;to extract
  39.  
  40. tar -xvMOf /dev/rfd1a | uncompress | cpio -idalm 
  41.  
  42.  
  43. Anyone would like to try?
  44. I may do that using etc distribution which uses up 20 disketes. I have not
  45. even managed to download all of them. The filelists already take up the
  46. first 20 files. I cannot even extract bash which is what I need the most,
  47. after downloading the first 20 files.
  48.  
  49. IMHO the utilities in etc01 should be distributed in normal compressed tar
  50. format as previously was done for 0.0 instead of being jumbled into
  51.  90 files which must all be downloaded together.
  52.  
  53. Chris, are you reading?
  54.  
  55.  
  56.  
  57. --
  58. Othman bin Ahmad, School of EEE,
  59. Nanyang Technological University, Singapore 2263.
  60. Internet Email: eoahmad@ntuix.ntu.ac.sg
  61. Bitnet Email: eoahmad@ntuvax.bitnet
  62.  
  63.