mirror_zfs/lib
Ryan Moeller 035ebb3653 Allow platform dependent path stripping for vdevs
On Linux the full path preceding devices is stripped when formatting
vdev names. On FreeBSD we only want to strip "/dev/". Hide the
implementation details of path stripping behind zfs_strip_path().

Make zfs_strip_partition_path() static in Linux implementation while
here, since it is never used outside of the file it is defined in.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9565
2019-11-11 12:15:44 -08:00
..
libavl OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libefi Preliminary support for RV64G 2019-11-06 10:56:09 -08:00
libicp OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libnvpair Use correct format string when printing int8 2019-10-20 20:37:30 -07:00
libshare Modify sharenfs=on default behavior 2019-10-13 19:13:26 -07:00
libspl Preliminary support for RV64G 2019-11-06 10:56:09 -08:00
libtpool OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libunicode OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libuutil Remove unused headers from uu_string.c 2019-10-25 13:53:50 -07:00
libzfs Allow platform dependent path stripping for vdevs 2019-11-11 12:15:44 -08:00
libzfs_core OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libzpool Remove unneeded header from libzpool/kernel.c 2019-10-26 10:07:59 -07:00
libzutil Allow platform dependent path stripping for vdevs 2019-11-11 12:15:44 -08:00
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00