🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #1055

Re: tar vs. cpio

#1055
From: Michael
Date: Mon, 29 Jun 1987 18:34
19 lines
1479 bytes
From: michael@stb.UUCP (Michael)

Actually, Tar CAN handle links properly, with the present file format.

There are two types of input to tar (generally): Regular files, which can
be seek'd to the proper place, and special files which cannot be seek'd.
They can, however, be close(); open() 'd, which does a rewind on any device
that I'm familiar with.
Presto, you've just seeked to the beginning, now you can skip as much as you
need to get to the file. 

The only thing this won't work with is pipes; the only thing I can think
of using pipes with tar are copying directories (in which case selective
retrieval isn't needed) and compressed archives (you're out of luck).
-- 
: Michael Gersten		seismo!scgvaxd!stb!michael
: Ground floor, comming up -- 1-3-7

Volume-Number: Volume 11, Number 76
Technical Details
Message-ID: <8358@ut-sally.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!std-unix
References: <8188@ut-sally.UUCP> <8208@ut-sally.UUCP> <8249@ut-sally.UUCP> <8276@ut-sally.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!std-unix
From: michael@stb.UUCP (Michael)
Newsgroups: comp.std.unix
Subject: Re: tar vs. cpio
Message-ID: <8358@ut-sally.UUCP>
Date: Mon, 29-Jun-87 14:34:03 EDT
Article-I.D.: ut-sally.8358
Posted: Mon Jun 29 14:34:03 1987
Date-Received: Tue, 30-Jun-87 06:46:10 EDT
References: <8188@ut-sally.UUCP> <8208@ut-sally.UUCP> <8249@ut-sally.UUCP> <8276@ut-sally.UUCP>
Sender: std-unix@ut-sally.UUCP
Reply-To: michael@stb.UUCP (Michael)
Organization: STB BBS, La, Ca, USA, 90402, (213) 459-7231
Lines: 19
Approved: jsq@sally.utexas.edu (Moderator, John Quarterman)