aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 14:12:17 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 14:12:17 -0500
commit79a47981f1216127baae6e6c8b94a54d116fb081 (patch)
treea3611e875ec2ea1fcb99b066d12dd02a182151d7
parentde751ff2dc6fc660773c12c970fd5fdd8a2bd8e7 (diff)
parentac8cda7c0dd16426e6fe593fd6f267d788678b82 (diff)
Merge branch 'cleanup' into chapter7
-rw-r--r--setupdisk.sh4
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