Re: Binaries deployment is not easy on Linux ?

From: Jean-David Beyer (jdbeyer_at_exit109.com)
Date: 07/24/04


Date: Sat, 24 Jul 2004 06:48:33 -0400

Nico Kadel-Garcia wrote:
> "Jean-David Beyer" <jdbeyer@exit109.com> wrote in message
> news:10g3hqfghejus9a@corp.supernews.com...
>
>>Nico Kadel-Garcia wrote (in part):
>>
>>
>>>cpio is much simpler and older way to bundle up a set of files into one
>>> file. It's nowhere near as powerful as tar, but it *is* extremely
>>>small and possible to stuff into a teeny, tiny little bit of program,
>>>so it's still used by some other packages that have to run from a
>>>floppy or installation system, such as RPM itself.
>>>
>>
>>Actually tar is much older than cpio. In fact, cpio was written to
>>overcome the deficiencies of tar. Tar was originally just a band-aid on
>>the ar program that made it more suitable for writing things like magnetic
>>tapes that were very poorly handled in UNIX at the time.
>
>
> Huh. That seems possible but surprising, considering that tar has been
> vastly preferred for at least 15 years, in my experience. Mind you, GNU tar
> added a whole constellation of extremely useful features, which is why I
> keep wanting to shoot in the head modern UNIX authors who insist on using
> non-GNU versionf of that tool.
>
> Not that I think you're fibbing, but are you sure?
>
>
I am absolutely certain. I was using UNIX at Bell Labs at the time it
happened. Probably in the late 1970s, but I am not certain of the date
anymore.

-- 
   .~.  Jean-David Beyer           Registered Linux User 85642.
   /V\                             Registered Machine   241939.
  /( )\ Shrewsbury, New Jersey     http://counter.li.org
  ^^-^^ 06:45:00 up 7 days, 16:26, 3 users, load average: 4.26, 4.24, 4.19


Relevant Pages

  • Re: Star or gnu cpio, or Something Else?
    ... and fails to recover. ... > I think I have read somwhere that cpio is more or less on it's way out. ... >> next account backup was with tar. ... >> shipped with unreliable backup utilities. ...
    (comp.unix.solaris)
  • Re: Star or gnu cpio, or Something Else?
    ... I think I have read somwhere that cpio is more or less on it's way out. ... > using ufsdump, ... > next account backup was with tar. ...
    (comp.unix.solaris)
  • Re: Linux Backup Administration
    ... Gnutar and star provide extensions to the original tar (which did ... > relative pros and cons of cpio style vs. tar style backup? ... goal is to be able to restore an exactly identical system as fast ... The most likely reason to need the backup is that someone accidentally ...
    (Fedora)
  • Re: this is not a specific linux question but more of just UNIX - tar, dump, restore command questio
    ... The 2GiB issue is not a tar issue. ... Dittos for cpio. ... I think, GNU tar has some issues with long filenames, when reading non-GNU ... I am covered with pure vegetable oil and I am writing a best seller! ...
    (comp.os.linux.misc)
  • [PATCH] update to the initramfs docs.
    ... +The kernel does not depend on external cpio tools, gen_init_cpio is created +from usr/gen_init_cpio.c which is entirely self-contained, and the kernel's +boot-time extractor is also self-contained. ... +Why cpio rather than tar? ... http://freshmeat.net/projects/afio/ + +2) The cpio archive format chosen by the kernel is simpler and cleaner (and ...
    (Linux-Kernel)