#!/bin/sh # What metasets (if any) does this system currently have active on it? mount | fgrep ' on /dev/md/' | fgrep -v ' on /dev/md/dsk/' | awk '{print $3}' | sed -e 's;^/dev/md/;;' -e 's;/.*;;' | sort -u