aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-09-21 09:47:30 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-09-21 09:47:33 -0700
commit5e73ca5b96fd8592e8bd57622cf31038b024c310 (patch)
treed96a1ac2450e121c835ce3aa61bf93dbcc222396
parentsnapshots-create.sh: disable volume header for now. (diff)
downloadmastermirror-scripts-5e73ca5b96fd8592e8bd57622cf31038b024c310.tar.gz
mastermirror-scripts-5e73ca5b96fd8592e8bd57622cf31038b024c310.tar.bz2
mastermirror-scripts-5e73ca5b96fd8592e8bd57622cf31038b024c310.zip
snapshots-create.sh: reduce padding on tarball
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsnapshots-create.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh
index 90eb555..44efdf4 100755
--- a/snapshots-create.sh
+++ b/snapshots-create.sh
@@ -109,6 +109,9 @@ if [ ! -f "${FILENAME%.bz2}" ]; then
>"${EXCLUSION_LIST}"
TAR_OPTIONS=(
+ # Force a small block size
+ --blocking-factor=1
+ --record-size=512
# GNU tar format saves approximately 1K per file in the tarball over POSIX
# format. Multiply ~170k files, and the savings are large.
--format=gnu