Change ReiserFS menu index
This commit is contained in:
parent
1ebba0d3cc
commit
0ecab91292
1 changed files with 5 additions and 5 deletions
10
archfi
10
archfi
|
@ -565,13 +565,13 @@ formatswapdevice(){
|
||||||
formatdevice(){
|
formatdevice(){
|
||||||
options=()
|
options=()
|
||||||
options+=("btrfs" "")
|
options+=("btrfs" "")
|
||||||
options+=("reiserfs" "")
|
|
||||||
options+=("ext4" "")
|
options+=("ext4" "")
|
||||||
options+=("ext3" "")
|
options+=("ext3" "")
|
||||||
options+=("ext2" "")
|
options+=("ext2" "")
|
||||||
options+=("xfs" "")
|
options+=("xfs" "")
|
||||||
options+=("f2fs" "")
|
options+=("f2fs" "")
|
||||||
options+=("jfs" "")
|
options+=("jfs" "")
|
||||||
|
options+=("reiserfs" "")
|
||||||
if [ ! "${3}" = "noluks" ]; then
|
if [ ! "${3}" = "noluks" ]; then
|
||||||
options+=("luks" "encrypted")
|
options+=("luks" "encrypted")
|
||||||
fi
|
fi
|
||||||
|
@ -599,10 +599,6 @@ formatdevice(){
|
||||||
umount /mnt
|
umount /mnt
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
reiserfs)
|
|
||||||
echo "mkfs.reiserfs -f ${2}"
|
|
||||||
mkfs.reiserfs -f ${2}
|
|
||||||
;;
|
|
||||||
ext4)
|
ext4)
|
||||||
echo "mkfs.ext4 ${2}"
|
echo "mkfs.ext4 ${2}"
|
||||||
mkfs.ext4 ${2}
|
mkfs.ext4 ${2}
|
||||||
|
@ -627,6 +623,10 @@ formatdevice(){
|
||||||
echo "mkfs.xfs -f ${2}"
|
echo "mkfs.xfs -f ${2}"
|
||||||
mkfs.jfs -f ${2}
|
mkfs.jfs -f ${2}
|
||||||
;;
|
;;
|
||||||
|
reiserfs)
|
||||||
|
echo "mkfs.reiserfs -f ${2}"
|
||||||
|
mkfs.reiserfs -f ${2}
|
||||||
|
;;
|
||||||
luks)
|
luks)
|
||||||
echo "${txtcreateluksdevice}"
|
echo "${txtcreateluksdevice}"
|
||||||
echo "cryptsetup luksFormat ${2}"
|
echo "cryptsetup luksFormat ${2}"
|
||||||
|
|
Loading…
Reference in a new issue