diff --git a/archfi b/archfi index 8d21942..83920b1 100644 --- a/archfi +++ b/archfi @@ -565,13 +565,13 @@ formatswapdevice(){ formatdevice(){ options=() options+=("btrfs" "") - options+=("reiserfs" "") options+=("ext4" "") options+=("ext3" "") options+=("ext2" "") options+=("xfs" "") options+=("f2fs" "") options+=("jfs" "") + options+=("reiserfs" "") if [ ! "${3}" = "noluks" ]; then options+=("luks" "encrypted") fi @@ -599,10 +599,6 @@ formatdevice(){ umount /mnt fi ;; - reiserfs) - echo "mkfs.reiserfs -f ${2}" - mkfs.reiserfs -f ${2} - ;; ext4) echo "mkfs.ext4 ${2}" mkfs.ext4 ${2} @@ -627,6 +623,10 @@ formatdevice(){ echo "mkfs.xfs -f ${2}" mkfs.jfs -f ${2} ;; + reiserfs) + echo "mkfs.reiserfs -f ${2}" + mkfs.reiserfs -f ${2} + ;; luks) echo "${txtcreateluksdevice}" echo "cryptsetup luksFormat ${2}"