aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Holm <pho@FreeBSD.org>2023-05-01 10:52:42 +0000
committerPeter Holm <pho@FreeBSD.org>2023-05-01 10:52:42 +0000
commitb274854dd943e66556ba2ecd7b6d3349b1cf8e6e (patch)
treeeb274ed9ded6ee020c78bd5bf8fff09f87010f15 /tools
parentd198b8774d2cfb6f140893e1c6236af9e97d1497 (diff)
downloadsrc-b274854dd943e66556ba2ecd7b6d3349b1cf8e6e.tar.gz
src-b274854dd943e66556ba2ecd7b6d3349b1cf8e6e.zip
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test/stress2/misc/unionfs4.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test/stress2/misc/unionfs4.sh b/tools/test/stress2/misc/unionfs4.sh
index 2355005c1f8b..15ff314a980b 100755
--- a/tools/test/stress2/misc/unionfs4.sh
+++ b/tools/test/stress2/misc/unionfs4.sh
@@ -52,6 +52,8 @@ done
mdconfig -a -t swap -s 2g -u $md1
mdconfig -a -t swap -s 2g -u $md2
+[ "$newfs_flags" = "-U" ] &&
+ newfs_flags="-j" # "out of inodes" work around
newfs $newfs_flags -n md$md1 > /dev/null
newfs $newfs_flags -n md$md2 > /dev/null
mount /dev/md$md1 $mp1