mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 04:25:12 +00:00
elevate minimum size permitted for btrfs filesystem
This commit is contained in:
parent
963a0cc321
commit
b7fa057e48
@ -30,7 +30,7 @@ fi
|
||||
if test_have_prereq BTRFS; then
|
||||
test_export "create_btrfs"
|
||||
test_expect_success 'Testing tomb creation using BTRFS filesystem' '
|
||||
tt_dig -s 50 &&
|
||||
tt_dig -s 120 &&
|
||||
tt_forge --tomb-pwd $DUMMYPASS &&
|
||||
print $DUMMYPASS \
|
||||
| gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \
|
||||
|
10
tomb
10
tomb
@ -2072,15 +2072,15 @@ lock_tomb_with_key() {
|
||||
ext3|ext4) ;;
|
||||
ext3maxinodes|ext4maxinodes) ;;
|
||||
btrfs)
|
||||
if [[ $tombsize -lt 49283072 ]]; then
|
||||
_failure "Filesystem ::1 filesystem:: not supported on tombs smaller than 47MB." \
|
||||
$filesystem
|
||||
if [[ $tombsize -lt 114294784 ]]; then
|
||||
_failure "Filesystem ::1 filesystem:: not supported on tombs smaller than ::2 size::" \
|
||||
$filesystem "114MB"
|
||||
fi
|
||||
;;
|
||||
btrfsmixedmode)
|
||||
if [[ $tombsize -lt 18874368 ]]; then
|
||||
_failure "Filesystem ::1 filesystem:: not supported on tombs smaller than 18MB." \
|
||||
$filesystem
|
||||
_failure "Filesystem ::1 filesystem:: not supported on tombs smaller than ::2 size::" \
|
||||
$filesystem "18MB"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user