aboutsummaryrefslogtreecommitdiffstats
path: root/src/extras/sysreport/sysreport-fdisk
blob: 451cb5358be47715e446f4a61feb82f1cc95d616 (plain) (blame)
1
2
3
4
5
6
7
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