home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4782 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  2.5 KB

  1. Path: sparky!uunet!cs.utexas.edu!usc!sol.ctr.columbia.edu!ira.uka.de!smurf.sub.org!rnihd!rnivh!acwbust!andrew
  2. From: andrew@acwbust.sub.org (A.W. Root)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: tar 'multivolume' bugs and workaround workound
  5. Message-ID: <Btn5u7.qD@acwbust.sub.org>
  6. Date: 27 Aug 92 12:10:51 GMT
  7. References: <1992Aug26.041547.26517@ntuix.ntu.ac.sg>
  8. Organization: A.Wheadon,6140-Bensheim-4,FRG
  9. Lines: 37
  10. X-Copyright: Nachdruck und Zitate -insbesondere unter Angabe des Autors
  11.              oder der Organisation- ausserhalb des USENETs ist nur mit
  12.              schriftlicher Genehmigung des Autors gestattet. In diesem
  13.              Fall ist die Message-ID und die Newsgruppe als Quelle anzu-
  14.              geben.
  15.  
  16. In article <1992Aug26.041547.26517@ntuix.ntu.ac.sg> eoahmad@ntuix.ntu.ac.sg (Othman Ahmad) writes:
  17. >There is a need to reduce the temporary file storage for systems with limited
  18. >disk space. 0.1 method of distribution requires that the entire files must
  19. >first be loaded before they can be extracted.
  20. At least after installing the bin01-files there is no need at all for
  21. temporary space I've been using the following for quite some time now
  22. to install things from both the src and the etc distribution.
  23. --- cut --- /readdos --- cut ---
  24. while echo -n "Next Disk : " >/dev/tty
  25. do
  26. read k </dev/tty >/dev/tty
  27. mtype "a:*01.*"
  28. done | uncompress | cpio -ivmd usr/src/libexec/getty/* usr/src/usr.bin/login/*
  29. --- end --- /readdos --- end ---
  30. Instead of usr/src/libexec/getty/* etc. just add the file you want.
  31. You can also put as many files from the same distribution as you want to on
  32. the end.
  33. To find out what I wanted I first made a complete list of the distribution:
  34. --- cut --- /makelist --- cut ---
  35. while echo -n "Next Disk : " >/dev/tty
  36. do
  37. read k </dev/tty >/dev/tty
  38. mtype "a:*01.*"
  39. done | uncompress | cpio -it | tee MANIFEST.etc01.files
  40. --- end --- /makelist --- end ---
  41. If you don't want to make additional notes of what's at the end of the
  42. various disks, then you can also leave out the tee and copy cpio's output
  43. straight into the file. Don't forget to change the name to MANIFEST.src01.files
  44. for the source distribution.
  45.  
  46. Also you might start wondering (in etc01) a some point whether something
  47. has gone wrong because it reads through a whole disk with no output, thats
  48. because theres a big tar file spread over more than one disk.
  49. Seeya
  50. -- 
  51. He ought to be put in his place | He has a brain | andrew@acwbust.sub.org
  52. Is there a shovel around ? <mr> | but it hasn't reached his head yet. ;->
  53.