diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-09-30 11:35:18 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-09-30 11:35:18 -0700 |
commit | 1e25abc5f5b0655357b5233570dd36abb0f4f719 (patch) | |
tree | bd707134ae1d9f5300b25c8b3a3e0f14856c5cce /functions | |
parent | 523576b3c24f52b3cf0623ea80b0cfcdbf7b93f2 (diff) | |
download | vyatta-op-1e25abc5f5b0655357b5233570dd36abb0f4f719.tar.gz vyatta-op-1e25abc5f5b0655357b5233570dd36abb0f4f719.zip |
Bugfix: 1725
Provide partitioning information for all disk drives in "show tech-support".
Diffstat (limited to 'functions')
-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 |