tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Makeing MKBSDTAR=yes the default



Hi all,
as ${SUBJECT} says, I want to make bsdtar the default tar and cpio
implementation. As there is no libarchive frontend for pax (yet),
/bin/pax remains as is. The primary change is that /bin/tar and
/bin/cpio would no longer be hard links to /bin/pax.

Advantages:
  - support for archiving/restore of files larger than 8GB
  - support for long path names in tar archives
  - various other niceties of proper POSIX interchange format

Disadvantages:
  - larger attack surface by the nature of supporting more (complicated)
    formats in libarchive

The one remaining question would be how to deal with the dependencies,
i.e. link both binaries statically against libarchive and dependencies
OR move the library closure to /lib (libarchive, libbz2, libexpat,
libpthread).

Joerg


Home | Main Index | Thread Index | Old Index