From 0a9d09ab51d9fb118ad367a6e9f2811acd0e7d48 Mon Sep 17 00:00:00 2001 From: Chao Yu Date: Thu, 26 Dec 2024 21:36:30 +0800 Subject: [PATCH] common/rc: support f2fs in _mkfs_dev() Then, f2fs/* testcases can use this wrapped common helper instead of raw codes. Suggested-by: Zorro Lang Signed-off-by: Chao Yu Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- common/rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/rc b/common/rc index 7b5bc0b4..ecac2de8 100644 --- a/common/rc +++ b/common/rc @@ -833,6 +833,9 @@ _try_mkfs_dev() ext2|ext3|ext4) $MKFS_PROG -t $FSTYP -- -F $MKFS_OPTIONS $* ;; + f2fs) + $MKFS_PROG -t $FSTYP -- -f $MKFS_OPTIONS $* + ;; xfs) $MKFS_PROG -t $FSTYP -- -f $MKFS_OPTIONS $* ;; -- 2.39.5