diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 14:12:08 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 14:12:08 -0500 |
commit | ac8cda7c0dd16426e6fe593fd6f267d788678b82 (patch) | |
tree | ab7ea38cdb7fd883fe728418d229ec37f644325b | |
parent | b84fb27a91e88b015231e852337d69a52efc1fc4 (diff) |
Add indented messages when creating partition and formatting filesystem.
-rw-r--r-- | setupdisk.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |