This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== mknod AIX ===== Usage: bash mknod.sh num_suffix prefix <code> counter=$1 prefix=$2 for i in $(cat hdisks.txt) do major=$(ls -l /dev/$i |awk '{print $5}') minor=$(ls -l /dev/$i |awk '{print $6}') mknod /dev/$prefix"0"$counter c ${major%?} $minor chmod 660 /dev/$prefix"0"$counter chown grid.asmadmin /dev/$prefix"0"$counter counter=$((counter + 1)) done ls -l /dev/$prefix* </code>