Files
mirror_zfs/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
..
2021-09-14 10:17:54 -06:00
2021-10-29 15:33:34 -07:00
2021-10-15 15:55:34 -07:00
2021-10-15 15:57:23 -07:00
2021-09-14 10:17:54 -06:00
2021-07-26 12:07:26 -07:00
2021-07-26 12:07:26 -07:00
2021-01-26 16:12:26 -08:00
2021-09-14 10:17:54 -06:00
2021-07-26 12:07:26 -07:00