From ac8cda7c0dd16426e6fe593fd6f267d788678b82 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 1 Apr 2021 14:12:08 -0500 Subject: Add indented messages when creating partition and formatting filesystem. --- setupdisk.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setupdisk.sh b/setupdisk.sh index e9cd692..0a058c7 100644 --- a/setupdisk.sh +++ b/setupdisk.sh @@ -1,5 +1,7 @@ #!/bin/bash +printf "%b" " ${IGRN}Creating primary partition at \ +${IWHT}${LFS_DISK}${RST}...\n" sudo fdisk "${LFS_DISK}" >/dev/null 2>&1 << EOF o n @@ -19,4 +21,6 @@ w q EOF +printf "%b" " ${IGRN}Formatting ${IWHT}${LFS_DISK}${LFS_PART} with \ +${YLW}EXT4${IGRN} filesystem and label ${IWHT}${LFS_VER}${RST}...\n" sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1 -- cgit v1.2.3-54-g00ecf