freebsd-dev/cmd
Tony Hutter 4d4998ea39
vdev_id: Fix PHY sorting
One of our developers noticed a bug in vdev_id where we were incorrectly
sorting PHYs using alphabetical sorting (which usually works) instead
of natural sorting (-v).  For example:

	[port-0:0]# ls -d phy*
	phy-0:10  phy-0:11  phy-0:8  phy-0:9

	[port-0:0]# ls -vd phy*
	phy-0:8  phy-0:9  phy-0:10  phy-0:11

This fixes the issue.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #12699
2021-10-29 15:33:34 -07:00
..
arc_summary Added another missed case to arc_summary3 2021-06-01 15:20:50 -06:00
arcstat arcstat: Fix integer division with python3 2021-10-08 09:32:27 -06:00
dbufstat dbufstat: Fix warnings with Python 3.8 2020-12-23 15:10:35 -08:00
fsck_zfs Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
mount_zfs Use fallthrough macro 2021-09-14 10:17:54 -06:00
raidz_test raidz_test: use only async-signal-safe functions in signal handler 2021-05-20 16:37:38 -07:00
vdev_id vdev_id: Fix PHY sorting 2021-10-29 15:33:34 -07:00
zdb zdb: fix overflow of time estimation 2021-10-15 15:55:34 -07:00
zed Notify on UNAVAIL statechange 2021-10-15 15:57:23 -07:00
zfs Use fallthrough macro 2021-09-14 10:17:54 -06: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 Prune /*NOTREACHED*/ 2021-07-26 12:07:26 -07:00
zinject cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zpool zpool should call zfs_nicestrtonum() with non-NULL handle 2021-10-20 10:34:34 -07: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 Prune /*NOTREACHED*/ 2021-07-26 12:07:26 -07:00
zvol_id Use substantially more robust program exit status logic in zvol_id 2021-07-02 13:10:36 -07:00
zvol_wait Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
Makefile.am Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00