zfs/cmd
Paul Zuchowski 5a4d282f55
Fix problem with zdb -d
zdb -d <pool>/<objset ID> does not work when
other command line arguments are included i.e.
zdb -U <cachefile> -d <pool>/<objset ID>
This change fixes the command line parsing
to handle this situation.  Also fix issue
where zdb -r <dataset> <file> does not handle
the root <dataset> of the pool. Introduce -N
option to force <objset ID> to be interpreted
as a numeric objsetID.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #12845
Closes #12944
2022-01-20 10:28:55 -07:00
..
arc_summary Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
arcstat Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
dbufstat Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
fsck_zfs Add ShellCheck's `--enable=all` inside `cmd/` 2022-01-06 16:07:54 -08:00
mount_zfs Use fallthrough macro 2021-09-14 10:17:54 -06:00
raidz_test raidz_test: init_rand: fix unused, remove argsused 2021-12-21 12:05:11 -08:00
vdev_id Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
zdb Fix problem with zdb -d 2022-01-20 10:28:55 -07:00
zed Add ShellCheck's `--enable=all` inside `cmd/` 2022-01-06 16:07:54 -08:00
zfs Revert "zfs list: Allow more fields in ZFS_ITER_SIMPLE mode" 2022-01-06 11:12:53 -08:00
zfs_ids_to_path zfs_ids_to_path: print correct wrong values 2021-04-11 11:58:16 -07:00
zgenhostid Prune /*NOTREACHED*/ 2021-07-26 12:07:26 -07:00
zhack module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zinject zinject: cancel_one_handler: fix unused, remove argsused 2021-12-21 12:05:11 -08:00
zpool Add ShellCheck's `--enable=all` inside `cmd/` 2022-01-06 16:07:54 -08:00
zpool_influxdb Use fallthrough macro 2021-09-14 10:17:54 -06:00
zstream zstream: force-install zstreamdump link 2021-05-29 20:37:05 -07:00
ztest module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zvol_id Use substantially more robust program exit status logic in zvol_id 2021-07-02 13:10:36 -07:00
zvol_wait Add ShellCheck's `--enable=all` inside `cmd/` 2022-01-06 16:07:54 -08:00
Makefile.am Add ShellCheck's `--enable=all` inside `cmd/` 2022-01-06 16:07:54 -08:00