Path: utzoo!mnetor!uunet!steinmetz!davidsen From: davidsen@steinmetz.steinmetz.UUCP (William E. Davidsen Jr) Newsgroups: comp.unix.wizards Subject: Re: Tar with multiple volumes Message-ID: <8313@steinmetz.steinmetz.UUCP> Date: 23 Dec 87 16:16:43 GMT References: <341@tness1.UUCP> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 29 In article <341@tness1.UUCP> mechcrm@tness1.UUCP (Chet Murthy 713+680-8841) writes: | | Hi. I am in the process of writing a multiple-volume tar/cpio/backup | utility. i have already tried to build one into cpio, with moderate success - | the code is so bloody (no flames, please) messy that there's no way to do it | without a major rewrite. So, I thought of hacking the public domain tar that | was posted to comp.sources.unix recently. This would have the advantage | that I could freely distribute the mods. Now, the questions: About six months ago I posted a program set called "bundle" which allowed multivolume on *any* program able to use stdin and stdout for devices. Perhaps this would save you a bit of time. I'm getting a SysV specific version going with shared memory which is somewhat faster, but the released version should do what you want. tar cf - | bundle /dev/mt0 10000k 4k find . -print | cpio -oc | bundle /dev/mt0 10000k 4k In a few months I will be releasing a version which also handles multivolums on separate physical devices, allowing mounting of one tape while the other is writing. A novel reinvention of 1962 GECOS (sic). Let me know if you need this and can't find it. It was in comp.sources.unix. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me