Home
last modified time | relevance | path

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

12

/freebsd/usr.sbin/iovctl/
H A Diovctl.c43 static void config_action(const char *filename, int dryrun);
44 static void delete_action(const char *device, int dryrun);
92 config_iov(int fd, const char *dev_name, const nvlist_t *config, int dryrun) in config_iov() argument
101 if (dryrun) { in config_iov()
175 int ch, dryrun; in main() local
180 dryrun = 0; in main()
208 dryrun = 1; in main()
245 config_action(filename, dryrun); in main()
250 delete_action(device, dryrun); in main()
254 if (dryrun) { in main()
[all …]
/freebsd/usr.sbin/trim/
H A Dtrim.c51 static int trim(const char *path, off_t offset, off_t length, bool dryrun, bool verbose);
60 bool dryrun, verbose; in main() local
66 dryrun = verbose = true; in main()
71 dryrun = true; in main()
75 dryrun = false; in main()
130 if (dryrun) in main()
134 if (trim(fname, offset, length, dryrun, verbose) < 0) in main()
207 trim(const char *path, off_t offset, off_t length, bool dryrun, bool verbose) in trim() argument
219 if (dryrun) in trim()
/freebsd/usr.sbin/etcupdate/
H A Detcupdate.sh470 if [ -n "$dryrun" ]; then
560 if [ -z "$dryrun" ]; then
597 if [ -n "$dryrun" -a "$2" = "$DESTDIR" ]; then
619 if [ -z "$dryrun" ]; then
636 if [ -z "$dryrun" ]; then
645 if [ -z "$dryrun" ]; then
651 if [ -z "$dryrun" ]; then
657 if [ -z "$dryrun" ]; then
668 if [ -z "$dryrun" ]; then
676 if [ -z "$dryrun" ]; then
[all …]
/freebsd/usr.sbin/pw/
H A Dpw_group.c458 bool dryrun, bool pretty, bool precrypted) in groupadd()
484 if (dryrun) in groupadd()
510 bool quiet, precrypted, dryrun, pretty, nis; in pw_group_add()
512 quiet = precrypted = dryrun = pretty = nis = false; in pw_group_add()
557 dryrun = true; in pw_group_add()
581 rc = groupadd(cnf, name, gr_gidpolicy(cnf, id), members, fd, dryrun, in pw_group_mod()
602 bool quiet, pretty, dryrun, nis, precrypted; in pw_group_mod()
604 quiet = pretty = dryrun = nis = precrypted = false; in pw_group_mod()
655 dryrun = true; in pw_group_mod()
701 if (dryrun) { in pw_group_mod()
446 groupadd(struct userconf * cnf,char * name,gid_t id,char * members,int fd,bool dryrun,bool pretty,bool precrypted) groupadd() argument
498 bool quiet, precrypted, dryrun, pretty, nis; pw_group_add() local
586 bool quiet, pretty, dryrun, nis, precrypted; pw_group_mod() local
[all...]
H A Dpw_user.c76 gid_t prefer, bool dryrun);
379 pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, gid_t prefer, bool dryrun) in pw_gidpolicy() argument
410 if (dryrun) { in pw_gidpolicy()
1211 bool dryrun, nis, pretty, quiet, createhome, precrypted, genconf; in pw_user_add() local
1213 dryrun = nis = pretty = quiet = createhome = precrypted = false; in pw_user_add()
1325 dryrun = true; in pw_user_add()
1345 if (!dryrun) in pw_user_add()
1404 (gid_t) pwd->pw_uid, dryrun); in pw_user_add()
1428 if (dryrun) in pw_user_add()
1544 bool quiet, createhome, pretty, dryrun, nis, edited; in pw_user_mod() local
[all …]
H A Dpw.h103 bool dryrun, bool pretty, bool precrypted);
/freebsd/usr.sbin/certctl/
H A Dcertctl.c59 static bool dryrun; variable
499 if (!dryrun) in write_certs()
507 if (dryrun) { in write_certs()
520 if (dryrun) { in write_certs()
592 if (dryrun) { in write_bundle()
1102 dryrun = true; in main()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c739 boolean_t dryrun, parsable, progress, embed_data, std_out; member
1258 if (!sdd->dryrun) { in dump_snapshot()
1623 FILE *fout = flags->dryrun ? stdout : stderr; in estimate_size()
1829 FILE *fout = (flags->verbosity > 0 && flags->dryrun) ? stdout : stderr; in zfs_send_resume_impl_cb_impl()
1939 if (!flags->dryrun) { in zfs_send_resume_impl_cb_impl()
2200 boolean_t dryrun, boolean_t raw, boolean_t replicate, boolean_t skipmissing, in send_prelim_records() argument
2278 if (!dryrun) { in send_prelim_records()
2392 flags->replicate, flags->verbosity > 0, flags->dryrun, in zfs_send_cb_impl()
2414 sdd.dryrun = flags->dryrun; in zfs_send_cb_impl()
2424 if (sdd.verbosity != 0 && sdd.dryrun) in zfs_send_cb_impl()
[all …]
H A Dlibzfs_pool.c1921 zpool_rewind_exclaim(libzfs_handle_t *hdl, const char *name, boolean_t dryrun, in zpool_rewind_exclaim() argument
1945 if (dryrun) { in zpool_rewind_exclaim()
1958 dryrun ? "Would discard" : "Discarded", in zpool_rewind_exclaim()
1965 dryrun ? "Would discard" : "Discarded", in zpool_rewind_exclaim()
4060 if (flags.dryrun != 0) { in zpool_vdev_split()
4103 if (flags.dryrun) { in zpool_vdev_split()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_util.h61 int check_rep, boolean_t replacing, boolean_t dryrun, int argc,
H A Dzpool_vdev.c1807 if (!flags.dryrun && make_disks(zhp, newroot, B_FALSE) != 0) { in split_mirror_vdev()
1875 boolean_t replacing, boolean_t dryrun, int argc, char **argv) in make_root_vdev() argument
1928 if (!dryrun && make_disks(zhp, newroot, replacing) != 0) { in make_root_vdev()
H A Dzpool_main.c1398 boolean_t dryrun = B_FALSE; in zpool_do_add() local
1434 dryrun = B_TRUE; in zpool_do_add()
1525 check_replication, B_FALSE, dryrun, argc, argv); in zpool_do_add()
1531 if (dryrun) { in zpool_do_add()
1971 boolean_t dryrun = B_FALSE; in zpool_do_create() local
1993 dryrun = B_TRUE; in zpool_do_create()
2125 nvroot = make_root_vdev(NULL, props, force, !force, B_FALSE, dryrun, in zpool_do_create()
2213 if (dryrun) { in zpool_do_create()
4352 boolean_t dryrun = B_FALSE; in zpool_do_import() local
4398 dryrun = B_TRUE; in zpool_do_import()
[all …]
/freebsd/sys/geom/eli/
H A Dg_eli_ctl.c58 int keysize, error, nkey, dryrun, dummy; in g_eli_ctl_attach() local
99 dryrun = 0; in g_eli_ctl_attach()
104 dryrun = *dryrunp; in g_eli_ctl_attach()
160 if (!dryrun) in g_eli_ctl_attach()
/freebsd/sys/contrib/openzfs/include/
H A Dlibzfs.h271 unsigned int dryrun : 1; member
817 boolean_t dryrun; member
896 boolean_t dryrun; member
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib610 typeset dryrun=${4:-1}
623 [ $dryrun -ne 0 ] && \
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c1086 boolean_t dryrun = B_FALSE; in zfs_do_create() local
1137 dryrun = B_TRUE; in zfs_do_create()
1188 if (dryrun || type == ZFS_TYPE_VOLUME) { in zfs_do_create()
1201 dryrun ? gettext("cannot verify '%s'") : in zfs_do_create()
1281 dryrun ? "would create ancestors of %s\n" : in zfs_do_create()
1284 if (!dryrun) { in zfs_do_create()
1294 dryrun ? "would create %s\n" : "create %s\n", argv[0]); in zfs_do_create()
1320 if (dryrun) { in zfs_do_create()
4821 flags.dryrun = B_TRUE; in zfs_do_send()
4956 if (!flags.dryrun && isatty(STDOUT_FILENO)) { in zfs_do_send()
[all …]
/freebsd/crypto/openssl/
H A DConfigure247 my $dryrun = 0;
1003 $dryrun = 1;
1409 exit 0 if $dryrun; # From older 'config'
/freebsd/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in966 if options.dryrun is True:
/freebsd/sys/contrib/openzfs/contrib/initramfs/scripts/
H A Dzfs535 echo "If this dryrun looks good, then remove the 'n' from '-Rfn'" \
/freebsd/crypto/heimdal/
H A Dltmain.sh1072 --dry-run|--dryrun|-n)
/freebsd/contrib/openbsm/config/
H A Dltmain.sh2318 --dry-run|--dryrun|-n)
/freebsd/contrib/ntp/sntp/libevent/
H A Dltmain.sh2318 --dry-run|--dryrun|-n)
/freebsd/contrib/ntp/sntp/libevent/build-aux/
H A Dltmain.sh2318 --dry-run|--dryrun|-n)
/freebsd/contrib/libevent/build-aux/
H A Dltmain.sh2527 --dry-run|--dryrun|-n)
/freebsd/contrib/ldns/
H A Dltmain.sh2403 --dry-run|--dryrun|-n)

12