summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-03 17:49:17 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-03 17:49:17 -0400
commitad526b14d9f83369d5e651baa94b9965a1e94fdc (patch)
tree1c72560f0c9051c26462b8f07616daaff013c627
parent6b3e4734122053c23845fac1ad79810e1ff55b37 (diff)
downloadpfsense-ad526b14d9f83369d5e651baa94b9965a1e94fdc.zip
pfsense-ad526b14d9f83369d5e651baa94b9965a1e94fdc.tar.gz
Output all slice information prior to upgrade, after dd operations and the final.
-rwxr-xr-xetc/rc.firmware15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 694b078..f03e794 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -193,6 +193,11 @@ pfSenseNanoBSDupgrade)
# Grab a before upgrade look at fdisk
echo "" >> /conf/upgrade_log.txt
fdisk $BOOT_DRIVE >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs1 >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs1a >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs2 >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs2a >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs3 >> /conf/upgrade_log.txt
echo "" >> /conf/upgrade_log.txt
# Log that we are really doing a NanoBSD upgrade
@@ -218,6 +223,11 @@ pfSenseNanoBSDupgrade)
# Grab a after upgrade look at fdisk
echo "" >> /conf/upgrade_log.txt
fdisk $BOOT_DRIVE >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs1 >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs1a >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs2 >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs2a >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs3 >> /conf/upgrade_log.txt
echo "" >> /conf/upgrade_log.txt
# Ensure that our new system is sound and bail if it is not and file a notice
@@ -282,6 +292,11 @@ pfSenseNanoBSDupgrade)
# Grab a final look at fdisk
echo "" >> /conf/upgrade_log.txt
fdisk $BOOT_DRIVE >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs1 >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs1a >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs2 >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs2a >> /conf/upgrade_log.txt
+ fdisk $BOOT_DRIVEs3 >> /conf/upgrade_log.txt
echo "" >> /conf/upgrade_log.txt
# Remove extra stuff
OpenPOWER on IntegriCloud