From a3b41bc66085e76fc17165ec69f694df8c4adbea Mon Sep 17 00:00:00 2001 From: Thomas Kaiser Date: Mon, 19 Sep 2016 10:16:21 +0200 Subject: [PATCH] Add /proc/partitions to log_hardware_info --- scripts/armhwinfo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/armhwinfo b/scripts/armhwinfo index 55b879bb2d..2371bf2736 100644 --- a/scripts/armhwinfo +++ b/scripts/armhwinfo @@ -177,6 +177,8 @@ log_hardware_info() { cat /proc/meminfo >>${Log} echo -e "\n### ifconfig:\n" >>${Log} ifconfig >>${Log} + echo -e "### partitions:\n" >>${Log} + cat /proc/partitions >>${Log} echo -e "### df:\n" >>${Log} df -h >>${Log} [[ -e /boot/script.bin ]] && echo -e "\n### /boot/script.bin --> $(readlink /boot/script.bin)" >>${Log}