From owner-freebsd-questions@freebsd.org Sat Sep 21 18:22:53 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EC2F12BCC9 for ; Sat, 21 Sep 2019 18:22:53 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46bJq021YLz3M3d for ; Sat, 21 Sep 2019 18:22:51 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=DpVIQjP9bf5C5RNVMREsACK6YgpAP4gmFRU3XD+S5nc=; b=Yw4Wt08gMltyQELT2eV0uhhx/M WdBOoc4mfL5Z6/sXjtF80A5YDIQja42YkVQYUz8mTtAAnmDUKpIUHSWbZQL6vi1GShie84ZYWMTbQ YvLd9/Sd/DiScQdFiLp31NuhiHBDx2uZc6ErMairsOdAkPTwivOM114Ce5WOplnflQNo=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.2 (FreeBSD)) (envelope-from ) id 1iBk1y-0004NM-KN for freebsd-questions@freebsd.org; Sun, 22 Sep 2019 01:22:50 +0700 Date: Sun, 22 Sep 2019 01:22:50 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: multi-volume archives Message-ID: <20190921182250.GA15412@admin.sibptus.ru> References: <20190921063003.GA81956@admin.sibptus.ru> <05ca327a-2b01-54fd-016a-ba84584095a7@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <05ca327a-2b01-54fd-016a-ba84584095a7@gmail.com> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.1 (2019-06-15) Sender: Victor Sudakov X-Rspamd-Queue-Id: 46bJq021YLz3M3d X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=Yw4Wt08g; dmarc=none; spf=pass (mx1.freebsd.org: domain of vas@mpeks.tomsk.su designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@mpeks.tomsk.su X-Spamd-Result: default: False [-7.74 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tomsk.su]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.14)[ip: (-9.74), ipnet: 2001:19f0:5000::/38(-4.87), asn: 20473(-1.04), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2019 18:22:53 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MJ wrote: >=20 > > > > Which is now the most convenient way to create multi-volume archives? To > > fit an archive on a FAT32 flash drive, a volume size should not exceed = 4g. > > > > I have traditionally used "tar | split" to pack, then "cat | tar" to > > unpack. But split is very slow, and generally this way is clumsy. > > > > I don't want to use "zip -s" either, because I think zip does not > > preserve symlinks, hardlinks, permissions... to cut a long story short, > > I don't believe in zip as a Unix archiver. > > > > Any more ideas? >=20 >=20 > Hi Victor, >=20 > If you don't like zip, what about 7zip? It has volumes which allow you to= break it up on the fly into parts Hmm, maybe 7z in tar mode. It does not preserve permissions in 7-zip mode. > Whether this is overall faster than tar|split is unknown. "7z a -ttar -v2G" seems indeed faster than tar|split I just don't know if its tar format can be trusted to preserve the metadata= =2E=20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdhmp6AAoJEA2k8lmbXsY0zCUIAKXxjoFcJn4Qaa1bj8uuvtSR gOZxZ3RTYmCUhj33nEpOItIIjGfW5nnDJw8KMDoYlk9lJNI01a7zcY+QaItaRMgw erU2JDFBTgeTNaxxXRbw3lk7cKRL79mQNQCeiwHRsyNoaoClLQU9Dn8ClJwsri9i AShilkSKn/VsACgkCgAyjAZM1BIhw5yHXgx5H62C1nWIEvsvfABXbPAqH81WMU+9 zfMvGSRb4wmQ3lubM5yho0wfRQJYyhjnGFUGWOu8Jkag6LTZEt2WD1ac+3NO8FNH BztSDYB0FRxxJPOx7fMFm6uxu2Culj5tUTLwoVQyj7pYD1D1ihCZIWaW3likKLA= =T7q8 -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--