mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	
				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  | 
			||
|---|---|---|
| .. | ||
| os/linux | ||
| Makefile.am | ||
| zutil_device_path.c | ||
| zutil_import.c | ||
| zutil_import.h | ||
| zutil_nicenum.c | ||
| zutil_pool.c | ||