Permalink
Browse files

Merge pull request #3 from gnpar/fix_resquash

Fix information loss on voluntary resquash
  • Loading branch information...
falconindy committed Aug 21, 2016
2 parents 8248834 + d1684d8 commit d63c21a99a7d658a3f23845bf03b5f2147c67d5b
Showing with 1 addition and 0 deletions.
  1. +1 −0 squashfu
View
@@ -42,6 +42,7 @@ create_new_squash () {
# Determine oldest $1 bins and mount them with the current squash
local old_bins=($(sort -n -r -t: -k2 "$BINVENTORY" | tail -$1 | cut -d: -f1))
+ mountpoint -q "$SQUASH_MOUNT" || mount_squash
mount_union_with_bins ${old_bins[@]}
info "Merging old incrementals"

0 comments on commit d63c21a

Please sign in to comment.