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