aboutsummaryrefslogtreecommitdiffstats
path: root/src/extras/sysreport/sysreport-fdisk
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-08-02 17:35:39 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-08-02 17:35:39 +0000
commitc35084c19b3670d91fbcbe5f45d3c303670ee8c4 (patch)
tree471f0df787c7eef451b3a1814ee9c55ce46b8643 /src/extras/sysreport/sysreport-fdisk
parenta9539c47df07cefc72a7c7289916a69141849c94 (diff)
downloadsos-c35084c19b3670d91fbcbe5f45d3c303670ee8c4.tar.gz
somehow i forgot to add extras/sysreport...
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@315 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/extras/sysreport/sysreport-fdisk')
-rwxr-xr-xsrc/extras/sysreport/sysreport-fdisk8
1 files changed, 8 insertions, 0 deletions
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