diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-02-17 16:28:17 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-02-17 16:28:17 +0000 |
commit | 18191c43943661b2d61b191ea95a9c9351bd465c (patch) | |
tree | dd426874c830ec029dbd44eec4e469131d4fadc9 /extras/sysreport/sysreport-fdisk | |
parent | 494f1de1db6c29a3f5f6d0e5cabc29b86eaf99e8 (diff) | |
download | sos-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-x | extras/sysreport/sysreport-fdisk | 8 |
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 |