diff options
author | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-08-02 17:35:39 +0000 |
---|---|---|
committer | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-08-02 17:35:39 +0000 |
commit | c35084c19b3670d91fbcbe5f45d3c303670ee8c4 (patch) | |
tree | 471f0df787c7eef451b3a1814ee9c55ce46b8643 /src/extras/sysreport/sysreport-fdisk | |
parent | a9539c47df07cefc72a7c7289916a69141849c94 (diff) | |
download | sos-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-x | src/extras/sysreport/sysreport-fdisk | 8 |
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 |