aboutsummaryrefslogtreecommitdiffstats
path: root/extras/sysreport/sysreport-fdisk
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-02-17 16:28:17 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-02-17 16:28:17 +0000
commit18191c43943661b2d61b191ea95a9c9351bd465c (patch)
treedd426874c830ec029dbd44eec4e469131d4fadc9 /extras/sysreport/sysreport-fdisk
parent494f1de1db6c29a3f5f6d0e5cabc29b86eaf99e8 (diff)
downloadsos-18191c43943661b2d61b191ea95a9c9351bd465c.tar.gz
- moved 1.9 to trunkr1.9
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@778 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'extras/sysreport/sysreport-fdisk')
-rwxr-xr-xextras/sysreport/sysreport-fdisk8
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/sysreport/sysreport-fdisk b/extras/sysreport/sysreport-fdisk
new file mode 100755
index 00000000..451cb535
--- /dev/null
+++ b/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