Lines Matching +defs:debug +defs:o
68 static int debug, fstab_style, verbose;
230 debug = 1;
248 case 'o':
509 if (option[0] == 'n' && option[1] == 'o') {
517 if (opt[0] == 'n' && opt[1] == 'o') {
574 * The mount_mfs (newfs) command uses -o to select the
575 * optimization mode. We don't pass the default "-o rw"
598 if (debug) {
650 struct mntoptnames *o;
658 for (o = optnames; flags != 0 && o->o_opt != 0; o++)
659 if (flags & o->o_opt) {
660 xo_emit("{D:, }{l:opts}", o->o_name);
661 flags &= ~o->o_opt;
775 xo_errx(1, "Need value for -o mountprog");
796 append_arg(a, strdup("-o"));
806 char *o, *p;
822 for (p = opts; (o = strsep(&p, ",")) != NULL;) {
823 if (strcmp(MOUNT_META_OPTION_FSTAB, o) == 0)
825 else if (strcmp(MOUNT_META_OPTION_CURRENT, o) == 0)
828 expopt = catopt(expopt, o);
839 for (p = expopt; (o = strsep(&p, ",")) != NULL;) {
840 if ((tmpopt = malloc( strlen(o) + 2 + 1 )) == NULL)
844 strcat(tmpopt, o);
848 if (strncmp("no", o, 2) == 0)
849 remopt(newopt, o+2);
851 newopt = catopt(newopt, o);
861 char *o, *p, *r;
868 for (p = string; (o = strsep(&p, ",")) != NULL;) {
869 if (strcmp(opt, o) != 0) {
870 if (*r == ',' && *o != '\0')
872 while ((*r++ = *o++) != '\0')
885 "usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type]",
887 " mount [-dfpruvw] [-o options] [-t ufs | external_type] special node");