Add F2FS support to archfi

This commit is contained in:
unknown 2019-05-06 17:11:12 -04:00 committed by ZVNexus
parent fc7eb66bb2
commit 10c0e90263

5
archfi
View file

@ -592,6 +592,7 @@ formatdevice(){
options+=("ext3" "") options+=("ext3" "")
options+=("ext2" "") options+=("ext2" "")
options+=("xfs" "") options+=("xfs" "")
options+=("f2fs" "")
options+=("jfs" "") options+=("jfs" "")
if [ ! "$3" = "noluks" ]; then if [ ! "$3" = "noluks" ]; then
options+=("luks" "encrypted") options+=("luks" "encrypted")
@ -640,6 +641,10 @@ formatdevice(){
echo "mkfs.xfs -f $2" echo "mkfs.xfs -f $2"
mkfs.xfs -f $2 mkfs.xfs -f $2
;; ;;
f2fs)
echo "mkfs.f2fs $2"
mkfs.f2fs $2
;;
jfs) jfs)
echo "mkfs.xfs -f $2" echo "mkfs.xfs -f $2"
mkfs.jfs -f $2 mkfs.jfs -f $2