home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8319 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.5 KB

  1. Path: sparky!uunet!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!modus!gear!cadlab!albani
  2. From: albani@cadlab.sublink.org (Lanfranco Albani)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Multiple tars on a tape. Me too !!
  5. Message-ID: <1992Jul28.121540.25222@cadlab.sublink.org>
  6. Date: 28 Jul 92 12:15:40 GMT
  7. References: <1992Jul24.172257.89532@vaxc.cc.monash.edu.au>
  8. Organization: CAD.LAB S.p.A., Bologna, Italia
  9. Lines: 24
  10.  
  11. che358w@vaxc.cc.monash.edu.au writes:
  12. :   I want to do multiple tars onto one tape. Say a tar of all my files this
  13. :week and another one next week and still be able to restore the files from
  14. :either archive at some later date.  This is what I've tried.
  15. :      tar -cvf/dev/rmt0.1 *
  16. :      tctl -f/dev/rmt0.1 rewind
  17. :      tctl -f/dev/rmt0.1 fsf 1
  18. :      tar -cvf/dev/rmt0.1 *
  19. :At this point I get a tar error message about invalid parameter passed to system.
  20. :Or some such nonsense. Can anyone tell me how I really should do this ?
  21.  
  22. /dev/rmt0.1 is a NO-rewind device, so you don't need to rewind it.
  23.  
  24. tar cvf /dev/rmt0.1 *  is dangerous as the '*' is expanded by the
  25. shell and the result can easily overrun the input buffer of tar.
  26. Change that "*" (star) with "." (dot).
  27.  
  28. Bye, Lanfranco
  29.  
  30. -- 
  31. Lanfranco Albani - CAD.LAB s.p.a., v. Ronzani 7/29, Casalecchio, Italia
  32. Email: (work:) albani@cadlab.sublink.org, (home:) bob@allan.sublink.org
  33. Phone: (work:) ++39 (51) 6130360, (home:) ++39 (51) 727372; 
  34. Fax: ++39 (51) 6130294 (work only), Fidonet: 2:332/407.1138 (home only).
  35.