diff options
-rwxr-xr-x | functions/tech-support | 7 |
1 files changed, 7 insertions, 0 deletions
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 |