mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-09-11 18:47:17 +03:00
Add sync after formatting
This commit is contained in:
parent
a815f4b761
commit
980d02ffc4
@ -689,6 +689,7 @@ function create_filesystems {
|
||||
if [[ "${yn}" == "y" ]] || [[ "${yn}" == "Y" ]] ; then
|
||||
echo -e -n "\n\nBoot partition "${boot_partition}" will now be formatted as FAT32 with "${boot_name}" label.\n\n"
|
||||
mkfs.vfat -n "${boot_name}" -F 32 "${boot_partition}"
|
||||
sync
|
||||
break 2
|
||||
elif [[ "${yn}" == "n" ]] || [[ "${yn}" == "N" ]] ; then
|
||||
echo -e -n "\n\nPlease select another name.\n"
|
||||
@ -726,6 +727,7 @@ function create_filesystems {
|
||||
if [[ "${yn}" == "y" ]] || [[ "${yn}" == "Y" ]] ; then
|
||||
echo -e -n "\n\nRoot partition /dev/mapper/"${vg_name}"-"${lv_root_name}" will now be formatted as BTRFS with "${root_name}" label.\n\n"
|
||||
mkfs.btrfs -L "${root_name}" /dev/mapper/"${vg_name}"-"${lv_root_name}"
|
||||
sync
|
||||
break 2
|
||||
elif [[ "${yn}" == "n" ]] || [[ "${yn}" == "N" ]] ; then
|
||||
echo -e -n "\n\nPlease select another name.\n"
|
||||
@ -753,6 +755,7 @@ function create_filesystems {
|
||||
if [[ "${yn}" == "y" ]] || [[ "${yn}" == "Y" ]] ; then
|
||||
echo -e -n "\n\nHome partition /dev/mapper/"${vg_name}"-"${lv_home_name}" will now be formatted as BTRFS with "${home_name}" label.\n\n"
|
||||
mkfs.btrfs -L "${home_name}" /dev/mapper/"${vg_name}"-"${lv_home_name}"
|
||||
sync
|
||||
break 2
|
||||
elif [[ "${yn}" == "n" ]] || [[ "${yn}" == "N" ]] ; then
|
||||
echo -e -n "\n\nPlease select another name.\n"
|
||||
|
Loading…
Reference in New Issue
Block a user