mirror_zfs/cmd
Paul Dagnelie 6af1f61ad4 Fix zdb pool/ with -k
When examining the root dataset with zdb -k, we get into a mismatched
state. main() knows we are not examining the whole pool, but it strips
off the trailing slash. import_checkpointed_state() then thinks we are
examining the whole pool, and does not update the target path
appropriately. The fix is to directly inform import_checkpointed_state
that we are examining a filesystem, and not the whole pool.

Sponsored-by: Klara, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Signed-off-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
Co-authored-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
Closes #17536
2025-08-12 17:21:47 -07:00
..
raidz_test SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zdb Fix zdb pool/ with -k 2025-08-12 17:21:47 -07:00
zed ZED: Fix device type detection and pool iteration logic 2025-08-05 12:32:28 -04:00
zfs Introduce zfs rewrite subcommand (#17246) 2025-08-07 12:34:28 -04:00
zinject SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zpool zpool: clarify ZPOOL_STATUS_REMOVED_DEV status message 2025-06-17 10:50:26 -07:00
zpool_influxdb SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zstream SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
arc_summary SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
arcstat.in arcstat: prevent ZeroDivisionError when L2ARC becomes empty 2025-05-28 16:00:28 -07:00
dbufstat.in SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
Makefile.am build: rename FORCEDEBUG_CPPFLAGS to LIBZPOOL_CPPFLAGS 2024-08-27 12:53:27 -07:00
mount_zfs.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_ids_to_path.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zgenhostid.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zhack.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zilstat.in SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
ztest.c Revert "Fix incorrect expected error in ztest" 2025-08-12 17:18:40 -07:00
zvol_wait zvol_wait logic may terminate prematurely 2022-10-11 12:12:04 -07:00