Home
last modified time | relevance | path

Searched refs:dryrun (Results 1 – 23 of 23) sorted by relevance

/NextBSD/usr.sbin/iovctl/
HDiovctl.c46 static void config_action(const char *filename, int dryrun);
47 static void delete_action(const char *device, int dryrun);
95 config_iov(int fd, const char *dev_name, const nvlist_t *config, int dryrun) in config_iov() argument
104 if (dryrun) { in config_iov()
178 int ch, dryrun; in main() local
183 dryrun = 0; in main()
211 dryrun = 1; in main()
244 config_action(filename, dryrun); in main()
249 delete_action(device, dryrun); in main()
253 if (dryrun) { in main()
[all …]
/NextBSD/usr.sbin/etcupdate/
HDetcupdate.sh423 if [ -n "$dryrun" ]; then
513 if [ -z "$dryrun" ]; then
550 if [ -n "$dryrun" -a "$2" = "$DESTDIR" ]; then
572 if [ -z "$dryrun" ]; then
589 if [ -z "$dryrun" ]; then
598 if [ -z "$dryrun" ]; then
604 if [ -z "$dryrun" ]; then
615 if [ -z "$dryrun" ]; then
623 if [ -z "$dryrun" ]; then
642 if [ -z "$dryrun" ]; then
[all …]
/NextBSD/usr.sbin/pw/
HDpw_group.c437 bool dryrun, bool pretty, bool precrypted) in groupadd() argument
463 if (dryrun) in groupadd()
489 bool quiet, precrypted, dryrun, pretty, nis; in pw_group_add() local
491 quiet = precrypted = dryrun = pretty = nis = false; in pw_group_add()
536 dryrun = true; in pw_group_add()
554 rc = groupadd(cnf, name, gr_gidpolicy(cnf, id), members, fd, dryrun, in pw_group_add()
575 bool quiet, pretty, dryrun, nis, precrypted; in pw_group_mod() local
577 quiet = pretty = dryrun = nis = precrypted = false; in pw_group_mod()
628 dryrun = true; in pw_group_mod()
667 if (dryrun) { in pw_group_mod()
HDpw_user.c78 gid_t prefer, bool dryrun);
83 bool dryrun);
381 pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, gid_t prefer, bool dryrun) in pw_gidpolicy() argument
413 if (dryrun) { in pw_gidpolicy()
510 pw_password(struct userconf * cnf, char const * user, bool dryrun) in pw_password() argument
525 if (conf.fd == -1 && !dryrun) { in pw_password()
1189 bool dryrun, nis, pretty, quiet, createhome, precrypted, genconf; in pw_user_add() local
1191 dryrun = nis = pretty = quiet = createhome = precrypted = false; in pw_user_add()
1296 dryrun = true; in pw_user_add()
1310 if (geteuid() != 0 && ! dryrun) in pw_user_add()
[all …]
HDpw.h91 bool dryrun, bool pretty, bool precrypted);
/NextBSD/usr.sbin/aslmanager/
HDaslmanager.c86 static int dryrun; variable
331 if (dryrun == 1) return; in filesystem_rename()
343 if (dryrun == 1) return; in filesystem_unlink()
355 if (dryrun == 1) return; in filesystem_truncate()
367 if (dryrun == 1) return; in filesystem_rmdir()
389 if (dryrun == 1) return 0; in filesystem_copy()
555 if (dryrun == 0) in ymd_file_filter()
1393 if (dryrun != 0) return 0; in checkpoint()
1517 dryrun = 1; in cli_main()
1526 debug_log(ASL_LEVEL_ERR, "aslmanager starting%s\n", (dryrun == 1) ? " dryrun" : ""); in cli_main()
[all …]
/NextBSD/cddl/contrib/opensolaris/lib/libzfs/common/
HDlibzfs_sendrecv.c823 boolean_t verbose, dryrun, parsable, progress, embed_data, std_out; member
1174 if (!sdd->dryrun) { in dump_snapshot()
1543 if (!flags->dryrun) { in zfs_send_resume()
1660 if (flags->dedup && !flags->dryrun) { in zfs_send()
1715 if (!flags->dryrun) { in zfs_send()
1762 sdd.dryrun = flags->dryrun; in zfs_send()
1769 if (sdd.verbose && sdd.dryrun) in zfs_send()
1779 if (!flags->dryrun && !zpool_get_prop_int(zfs_get_pool_handle(zhp), in zfs_send()
1803 sdd.dryrun = B_TRUE; in zfs_send()
1828 if (flags->dryrun) in zfs_send()
[all …]
HDlibzfs.h235 int dryrun : 1; member
605 boolean_t dryrun; member
661 boolean_t dryrun; member
HDlibzfs_pool.c1418 zpool_rewind_exclaim(libzfs_handle_t *hdl, const char *name, boolean_t dryrun, in zpool_rewind_exclaim() argument
1441 if (dryrun) { in zpool_rewind_exclaim()
1454 dryrun ? "Would discard" : "Discarded", in zpool_rewind_exclaim()
1461 dryrun ? "Would discard" : "Discarded", loss); in zpool_rewind_exclaim()
3006 if (flags.dryrun) {
/NextBSD/cddl/contrib/opensolaris/cmd/zpool/
HDzpool_util.h47 boolean_t replacing, boolean_t dryrun, int argc, char **argv);
HDzpool_main.c496 boolean_t dryrun = B_FALSE; in zpool_do_add() local
511 dryrun = B_TRUE; in zpool_do_add()
549 nvroot = make_root_vdev(zhp, force, !force, B_FALSE, dryrun, in zpool_do_add()
556 if (dryrun) { in zpool_do_add()
771 boolean_t dryrun = B_FALSE; in zpool_do_create() local
790 dryrun = B_TRUE; in zpool_do_create()
902 nvroot = make_root_vdev(NULL, force, !force, B_FALSE, dryrun, in zpool_do_create()
991 if (dryrun) { in zpool_do_create()
1966 boolean_t dryrun = B_FALSE; in zpool_do_import() local
2009 dryrun = B_TRUE; in zpool_do_import()
[all …]
HDzpool_vdev.c1426 if (!flags.dryrun && make_disks(zhp, newroot) != 0) { in split_mirror_vdev()
1472 boolean_t replacing, boolean_t dryrun, int argc, char **argv) in make_root_vdev() argument
1514 if (!dryrun && make_disks(zhp, newroot) != 0) { in make_root_vdev()
/NextBSD/cddl/contrib/opensolaris/cmd/zfs/
HDzfs_main.c3804 flags.dryrun = B_TRUE; in zfs_do_send()
3854 if (!flags.dryrun && isatty(STDOUT_FILENO)) { in zfs_do_send()
3875 flags.dedup || flags.dryrun || flags.verbose || in zfs_do_send()
4001 flags.dryrun = B_TRUE; in zfs_do_receive()
4051 if (flags.isprefix || flags.istail || flags.dryrun || in zfs_do_receive()
/NextBSD/contrib/ntp/sntp/
HDltmain.sh1072 --dry-run|--dryrun|-n)
/NextBSD/contrib/ldns/
HDltmain.sh1069 --dry-run|--dryrun|-n)
/NextBSD/contrib/openbsm/config/
HDltmain.sh1069 --dry-run|--dryrun|-n)
/NextBSD/contrib/ntp/
HDltmain.sh1072 --dry-run|--dryrun|-n)
/NextBSD/contrib/file/
HDltmain.sh1070 --dry-run|--dryrun|-n)
/NextBSD/contrib/openpam/
HDltmain.sh1069 --dry-run|--dryrun|-n)
/NextBSD/contrib/ntp/sntp/libevent/build-aux/
HDltmain.sh1069 --dry-run|--dryrun|-n)
/NextBSD/contrib/unbound/
HDltmain.sh1069 --dry-run|--dryrun|-n)
/NextBSD/crypto/heimdal/
HDltmain.sh1072 --dry-run|--dryrun|-n)
/NextBSD/contrib/sqlite3/
HDltmain.sh1069 --dry-run|--dryrun|-n)