"\t\t--comment=<user comment>: arbitrary string (%d bytes)\n"
"\t\t--dryrun: report what we would do; don't write to disk\n"
"\t\t--verbose: e.g. show mkfs progress\n"
+ "\t\t--force-nohostid: Ignore hostid requirement for ZFS "
+ "import\n"
"\t\t-V|--version: output build version of the utility and\n"
"\t\t\texit\n"
"\t\t--quiet\n",
{ "servicenode", required_argument, NULL, 's' },
{ "network", required_argument, NULL, 't' },
{ "comment", required_argument, NULL, 'u' },
+ { "force-nohostid", no_argument, NULL, 'U' },
{ "verbose", no_argument, NULL, 'v' },
{ "version", no_argument, NULL, 'V' },
#ifndef TUNEFS
strscpy(ldd->ldd_userdata, optarg,
sizeof(ldd->ldd_userdata));
break;
+ case 'U':
+ mop->mo_flags |= MO_NOHOSTID_CHECK;
+ break;
case 'v':
verbose++;
break;