make default size of sparse file 16GB

This commit is contained in:
TomasM
2017-12-14 18:01:13 -05:00
parent dc2c82afc3
commit f3d8159cfa
+1 -1
View File
@@ -643,7 +643,7 @@ persistent_changes()
if [ $? -eq 0 ]; then
if [ ! "$EXISTS" ]; then
dd if=/dev/zero of="$CHANGES/changes.dat" seek=2000M bs=1 count=0 >/dev/null 2>&1
dd if=/dev/zero of="$CHANGES/changes.dat" seek=16000M bs=1 count=0 >/dev/null 2>&1
mke2fs -F "$CHANGES/changes.dat" >/dev/null 2>&1
fi
mount -o loop "$CHANGES/changes.dat" "$2"