Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2020 21:33:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245748] New port: archivers/tar-stream-chunker streams stdin of unknown size as a tar to stdout
Message-ID:  <bug-245748-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245748

            Bug ID: 245748
           Summary: New port: archivers/tar-stream-chunker streams stdin
                    of unknown size as a tar to stdout
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: igor.ostapenko@pm.me

Created attachment 213578
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213578&action=
=3Dedit
tar-stream-chunker.diff

Splits stdin of unknown size onto chunks of given size and collects such ch=
unk
files as a TAR archive what is written to stdout.

Initial motivation was to use it as a packer of a data stream what pipes it=
 to
https://tarsnap.com for backup purposes, with a requirement of low and more
predictable memory consumption. And the problem solved here is that TAR file
header should specify size of a file, but it's unknown due to the nature of
input data stream.

The following real case could be an example:
$ pg_dump ... | tar_stream_chunker ... | tarsnap -c ... @-

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245748-7788>