diff options
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 |