From c35084c19b3670d91fbcbe5f45d3c303670ee8c4 Mon Sep 17 00:00:00 2001 From: shnavid Date: Thu, 2 Aug 2007 17:35:39 +0000 Subject: somehow i forgot to add extras/sysreport... git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@315 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/extras/sysreport/sysreport-fdisk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 src/extras/sysreport/sysreport-fdisk (limited to 'src/extras/sysreport/sysreport-fdisk') diff --git a/src/extras/sysreport/sysreport-fdisk b/src/extras/sysreport/sysreport-fdisk new file mode 100755 index 00000000..451cb535 --- /dev/null +++ b/src/extras/sysreport/sysreport-fdisk @@ -0,0 +1,8 @@ +#! /bin/sh + +/sbin/fdisk -l /dev/hd[a-g] +/sbin/fdisk -l /dev/sd[a-p] +/sbin/fdisk -l /dev/md[0-9] /dev/md[1][0-5] +for i in `/bin/ls /dev/rd/ | /bin/grep -v p[0-9]`; do + /sbin/fdisk -l /dev/rd/"$i" 2>&1 +done -- cgit