From 1e25abc5f5b0655357b5233570dd36abb0f4f719 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Tue, 30 Sep 2008 11:35:18 -0700 Subject: Bugfix: 1725 Provide partitioning information for all disk drives in "show tech-support". --- functions/tech-support | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'functions') diff --git a/functions/tech-support b/functions/tech-support index 73b5eb6..5aff9dd 100755 --- a/functions/tech-support +++ b/functions/tech-support @@ -92,6 +92,13 @@ cat /proc/devices header Partitions cat /proc/partitions +disks=`cat /proc/partitions | awk '{ if ($4!="name") { print $4 } }' | egrep -v "[0-9]$" | egrep -v "^$"` + +for disk in $disks; do + header "Partitioning for disk $disk" + fdisk -l /dev/$disk +done + header Mounts cat /proc/mounts -- cgit v1.2.3