Lines Matching refs:type
95 char *type; member
310 const char *type, const char *opts, in create_fs_device() argument
318 if (strchr(type, ',')) in create_fs_device()
319 type = (char *)"auto"; in create_fs_device()
320 fs->type = xstrdup(type); in create_fs_device()
470 if (strcmp(inst2->type, "ext2") != 0 in wait_one()
471 && strcmp(inst2->type, "ext3") != 0 in wait_one()
527 static void execute(const char *type, const char *device, in execute() argument
534 G.args[0] = xasprintf("fsck.%s", type); in execute()
538 if (strcmp(type, "ext2") == 0 in execute()
539 || strcmp(type, "ext3") == 0 in execute()
603 const char *type; in fsck_device() local
605 if (strcmp(fs->type, "auto") != 0) { in fsck_device()
606 type = fs->type; in fsck_device()
609 type, "from fstab"); in fsck_device()
616 type = G.fstype; in fsck_device()
619 type, "from -t"); in fsck_device()
621 type = "auto"; in fsck_device()
624 type, "(default)"); in fsck_device()
628 execute(type, fs->device, fs->mountpt /*, interactive */); in fsck_device()
719 if (strcmp(cp, fs->type) == 0) in fs_match()
756 if (index_in_strings(ignored_types, fs->type) >= 0) in ignore()