home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16821 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  2.1 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!keele!nott-cs!dpg
  2. From: dpg@cs.nott.ac.uk (Dave `geek' Gymer)
  3. Newsgroups: comp.os.linux
  4. Subject: ANNOUNCE: improved afio 2.3
  5. Message-ID: <1992Nov16.095102.13125@cs.nott.ac.uk>
  6. Date: 16 Nov 92 09:51:02 GMT
  7. Reply-To: dpg@cs.nott.ac.uk (`Grave' Dave Gymer)
  8. Organization: Nottingham University
  9. Lines: 38
  10.  
  11. I've finally gotten round to fixing my last major gripe with afio, and
  12. have uploaded a new version of the source to sunsite.unc.edu.
  13.  
  14. For those who missed my first post on afio, it's a cpio-style archiver
  15. (posted to comp.sources.misc a while back) which can create multiple
  16. volume archives on floppies, compressing individual files if required,
  17. and is able to recover from paritally damaged archives (an ability for
  18. which I am personally very grateful!).
  19.  
  20. This new version has been hacked so that making a compressed backup of
  21. already compressed files and then restoring the backup will _not_
  22. uncompress those files, only the ones that afio itself decided to
  23. compress.  It's a kind of poor man's ARJ for Unix...
  24.  
  25. Doing a backup is then as simple as...
  26.  
  27. bash# find / | egrep -v "^/proc|^/dos-c/|^/lib/libc.|^/dev/|^/usr/tmp/|^/tmp/" | afio -ovzFZxAg -s 720k -b 256 /dev/fd0
  28.  
  29. ... (sorry about the length of that line!).  I got burned once by trying
  30. to uncompress the shared library that uncompress wanted to use.... ouch!
  31. I knew the Norton utils would come in handy one day...  No doubt there
  32. are better ways of doing that than using egrep, but my knowledge of
  33. find(1) syntax is pretty shaky!  I like to bung a sort(1) in there just
  34. before the afio too.
  35.  
  36. Then, to restore, use
  37.  
  38. bash# afio -ivxAFZ -b 256 -s 720k /dev/fd0
  39.  
  40. It's as easy as that!  (The -b 256 sets a smaller blocking factor, which
  41. reduces the archive size slightly.)
  42.  
  43. -- Dave.
  44. -- 
  45. `Grave' Dave Gymer |   ___    Home   /\/ THISISONEOFTHOSECONFUSINGHORRIBLEUNR
  46. 42 St Mary's Park  |  /   \   Sweet /\/ EADABLENOSPACESALLINUPPERCASEMESSAGES
  47. Louth, Lincs       | | RIP |  Home /\/ THATPEOPLELIKETOPUTINTHEIRSIGNATURES!!
  48. LN11 0EF, England  |_|_____|______/\/____THE_BOTTOM_LINE_____________________
  49.