mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common/rc: support reiserfs in _scratch_mkfs_sized
Signed-off-by: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
d613bee203
commit
8489391928
@@ -1013,7 +1013,7 @@ _scratch_mkfs_sized()
|
||||
xfs)
|
||||
def_blksz=`echo $MKFS_OPTIONS|sed -rn 's/.*-b ?size= ?+([0-9]+).*/\1/p'`
|
||||
;;
|
||||
ext2|ext3|ext4|ext4dev|udf|btrfs|reiser4|ocfs2)
|
||||
ext2|ext3|ext4|ext4dev|udf|btrfs|reiser4|ocfs2|reiserfs)
|
||||
def_blksz=`echo $MKFS_OPTIONS| sed -rn 's/.*-b ?+([0-9]+).*/\1/p'`
|
||||
;;
|
||||
jfs)
|
||||
@@ -1067,6 +1067,9 @@ _scratch_mkfs_sized()
|
||||
jfs)
|
||||
${MKFS_PROG}.$FSTYP $MKFS_OPTIONS $SCRATCH_DEV $blocks
|
||||
;;
|
||||
reiserfs)
|
||||
${MKFS_PROG}.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks
|
||||
;;
|
||||
reiser4)
|
||||
# mkfs.resier4 requires size in KB as input for creating filesystem
|
||||
$MKFS_REISER4_PROG $MKFS_OPTIONS -y -b $blocksize $SCRATCH_DEV \
|
||||
|
||||
Reference in New Issue
Block a user