Changeset View
Changeset View
Standalone View
Standalone View
sbin/mdconfig/mdconfig.c
Show First 20 Lines • Show All 446 Lines • ▼ Show 20 Lines | if (gid->lg_what == ISPROVIDER) { | ||||
retcode = md_find(units, pp->lg_name); | retcode = md_find(units, pp->lg_name); | ||||
if (retcode != 1) | if (retcode != 1) | ||||
continue; | continue; | ||||
else | else | ||||
ufound = 1; | ufound = 1; | ||||
} | } | ||||
gc = &pp->lg_config; | gc = &pp->lg_config; | ||||
type = geom_config_get(gc, "type"); | type = geom_config_get(gc, "type"); | ||||
if (strcmp(type, "vnode") == 0) { | if (strcmp(type, "vnode") == 0 || | ||||
strcmp(type, "preload") == 0) { | |||||
file = geom_config_get(gc, "file"); | file = geom_config_get(gc, "file"); | ||||
if (fflag != NULL && | if (fflag != NULL && | ||||
strcmp(fflag, file) != 0) | strcmp(fflag, file) != 0) | ||||
continue; | continue; | ||||
else | else | ||||
ffound = 1; | ffound = 1; | ||||
} else if (fflag != NULL) | } else if (fflag != NULL) | ||||
continue; | continue; | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |