Solaris VTOC

- Change LUN VTOC fast

#!/bin/sh
__GOOD__=`cat lun.good`
__BAD__=`cat luns.bad`
for LUN in ${__BAD__}
do       
    prtvtoc /dev/rdsk/${__GOOD__}s2 | fmthard -s - /dev/rdsk/${LUN}s2
done