zfs/lib/libzutil
kpande 47d7ef5490 Sort by full path name instead of by GUID when importing
Preferentially sort by the full path name instead of GUID when determining
which device links to use.  This helps ensure that the pool vdevs are named
consistently when multiple links for a device appear in the same directory.
For example, the /dev/disk/by-id/scsi* and /dev/disk/by-id/wwn* links.

Reviewed-by: Alek Pinchuk <apinchuk@datto.com>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Authored-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Kash Pande <kash@tripleback.net>
Closes #8108 
Closes #8440
2019-02-26 11:13:15 -08:00
..
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zutil_device_path.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zutil_import.c Sort by full path name instead of by GUID when importing 2019-02-26 11:13:15 -08:00
zutil_nicenum.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zutil_pool.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00