in pkg/raid/raid.go [230:233]
func isRaidDevice(device string) error { _, err := runMdadm("--detail", device) return err // Maybe there's more information to extract from the output? }