mirror_zfs/lib/libzutil/os/linux
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
..
zutil_device_path_os.c Allow platform dependent path stripping for vdevs 2019-11-11 12:15:44 -08:00
zutil_import_os.c Add wrapper for Linux BLKFLSBUF ioctl 2019-10-28 09:53:39 -07:00