mirror_zfs/cmd
loli10K c24fa4b19a Fix "zpool add -n" for dedup, special and log devices
For dedup, special and log devices "zpool add -n" does not print
correctly their vdev type:

~# zpool add -n pool dedup /tmp/dedup special /tmp/special log /tmp/log
would update 'pool' to the following configuration:
	pool
	  /tmp/normal
	  /tmp/dedup
	  /tmp/special
	  /tmp/log

This could lead storage administrators to modify their ZFS pools to
unexpected and unintended vdev configurations.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9783 
Closes #9390
2020-01-06 15:40:06 -08:00
..
arc_summary Fix reporting of L2ARC hits/misses in arc_summary3 2019-12-04 13:24:55 -08:00
arcstat Add FreeBSD code to arc_summary and arcstat 2019-11-30 15:43:23 -08:00
dbufstat Detect if sed supports --in-place 2019-10-16 19:19:48 -07:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
raidz_test Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
vdev_id Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zdb zdb: print block checksums with 6 d's of verbosity 2019-12-30 09:14:40 -08:00
zed OpenZFS restructuring - libzutil 2019-10-03 10:20:44 -07:00
zfs cppcheck: (error) Null pointer dereference: who_perm 2019-12-18 17:25:23 -08:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zinject Remove ECKSUM alias in zinject 2019-11-01 10:31:42 -07:00
zpool Fix "zpool add -n" for dedup, special and log devices 2020-01-06 15:40:06 -08:00
zstreamdump OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
ztest Replace ASSERTV macro with compiler annotation 2019-12-05 12:37:00 -08:00
zvol_id OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zvol_wait zvol_wait should ignore redacted zvols 2019-11-06 10:51:19 -08:00
Makefile.am Isolate code specific to Linux in cmd/ 2019-11-11 09:24:04 -08:00