*BSD News Article 4503


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!dtix!darwin.sura.net!jvnc.net!nuscc!ntuix!eoahmad
From: eoahmad@ntuix.ntu.ac.sg (Othman Ahmad)
Newsgroups: comp.unix.bsd
Subject: Re: backup w/ compression for UN*X?
Message-ID: <1992Sep4.085828.10853@ntuix.ntu.ac.sg>
Date: 4 Sep 92 08:58:28 GMT
References: <1992Sep3.165702.3809@gateway.novell.com>
Organization: Nanyang Technological University - Singapore
Lines: 34
X-Newsreader: Tin 1.1 PL4

terry@thisbe.Eng.Sandy.Novell.COM (Terry Lambert) writes:
: In article <1992Sep3.015437.15379@msuinfo.cl.msu.edu> paoletti@cps.msu.edu (David R. Paoletti) writes:
: >Does anyone know of any software for UN*X, 386BSD or otherwise,
: >that does on-the-fly compression?  Thinking of looking into
: >writing my own, or getting some 386BSD people together to help,
: >as soon as I get my new machine built with enough HD space to
: >re-compile 386BSD...  This would be really nice for people with
: >floppies, or even people who want to save on tapes.
: 
: ctar (LoneStar software, I believe... Hi guys!)
: 
: Doesn't gnutar support -z (LZW compression)?
Cannot do multi-volume, at least the 386bsd one. The reason is due to
the fact that it gnu tar just pipes it through compress, instead of
incorporating it before the multivolume archiving.
	The trick is to call the compress before the archiving.
Maybe

tar cvf - | compress | tar cvOMf /dev/rfd0a

"however cO is not a valid option" only "xO"

maybe we can use mkfifo, but I have never managed to make mkfifo work.

mkfifo fifo
(tar cvzf fifo) | (tar cvMf /dev/rfd9a fifo)

Any ideas?

--
Othman bin Ahmad, School of EEE,
Nanyang Technological University, Singapore 2263.
Internet Email: eoahmad@ntuix.ntu.ac.sg
Bitnet Email: eoahmad@ntuvax.bitnet