Add file system descriptions.

This commit is contained in:
natemaia 2020-04-25 22:39:11 -07:00
parent b4abbd2c4c
commit f16d682856

View File

@ -1371,9 +1371,30 @@ select_filesystem()
until [[ $fs ]]; do until [[ $fs ]]; do
if [[ $cur && $part != "$ROOT" ]]; then if [[ $cur && $part != "$ROOT" ]]; then
dlg fs menu "Filesystem" "$txt\nCurrent: $cur" skip - ext4 - ext3 - ext2 - vfat - ntfs - f2fs - jfs - xfs - nilfs2 - reiserfs - || return 1 dlg fs menu "Filesystem" "$txt\nCurrent: $cur" \
skip - \
ext4 "The evolution of the most used Linux filesystem, successor to Ext3" \
ext3 "3rd extended file system, successor to Ext2" \
ext2 "2nd extended filesystem, unlike 3/4 it is not journaled and largely obsolete" \
vfat "A legacy file system which is simple and robust" \
ntfs "Windows NT file system" \
f2fs "Flash-friendly file system, intended for NAND-based flash memory" \
jfs "Journaled file system created by IBM" \
xfs "Journaling file system created by Silicon Graphics (SGI)" \
nilfs2 "A log-structured file system implementation for the Linux kernel" \
reiserfs "Journaled file system initially created by a team at Namesys led by Hans Reiser" || return 1
else else
dlg fs menu "Filesystem" "$txt" ext4 - ext3 - ext2 - vfat - ntfs - f2fs - jfs - xfs - nilfs2 - reiserfs - || return 1 dlg fs menu "Filesystem" "$txt" \
ext4 "The evolution of the most used Linux filesystem, successor to Ext3" \
ext3 "3rd extended file system, successor to Ext2" \
ext2 "2nd extended filesystem, unlike 3/4 it is not journaled and largely obsolete" \
vfat "A legacy file system which is simple and robust" \
ntfs "Windows NT file system" \
f2fs "Flash-friendly file system, intended for NAND-based flash memory" \
jfs "Journaled file system created by IBM" \
xfs "Journaling file system created by Silicon Graphics (SGI)" \
nilfs2 "A log-structured file system implementation for the Linux kernel" \
reiserfs "Journaled file system initially created by a team at Namesys led by Hans Reiser" || return 1
fi fi
[[ $fs == 'skip' ]] && return 0 [[ $fs == 'skip' ]] && return 0
yesno "Filesystem" "\nFormat $(part_pretty "$part") as $fs?\n" || fs='' yesno "Filesystem" "\nFormat $(part_pretty "$part") as $fs?\n" || fs=''