aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-10-21 22:07:21 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:27:40 +0200
commit14b0ba8e7974d20d4477f113730fcfdda8d8bb01 (patch)
treefd9bbabb5330c4569218f83121544c82ce8ad5dc
parent22d15e76152b8d904ddabb5817e0aade60315bcd (diff)
Add progress bars to mkfs(8).
Tested with mkfs.extX only.
-rwxr-xr-xpartition.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/partition.sh b/partition.sh
index 5118811..a1c7f2d 100755
--- a/partition.sh
+++ b/partition.sh
@@ -72,10 +72,10 @@ vgchange -ay $vg
# Format the partitions
-mkfs.ext2 -q -E resize=512M -m1 -b 4096 $part_boot
-mkfs.ext4 -q -b 4096 /dev/$vg/root
-mkfs.ext4 -q -b 4096 /dev/$vg/home
-mkswap /dev/$vg/swap
+fripost_mkfs ext2 $part_boot -E resize=512M -m1 -b 4096
+fripost_mkfs ext4 /dev/$vg/root -b 4096
+fripost_mkfs ext4 /dev/$vg/home -b 4096
+mkswap /dev/$vg/swap
# Stuff the fstab and mount the devices in the target