mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Retire zpool_id infrastructure
In the interest of maintaining only one udev helper to give vdevs user friendly names, the zpool_id and zpool_layout infrastructure is being retired. They are superseded by vdev_id which incorporates all the previous functionality. Documentation for the new vdev_id(8) helper and its configuration file, vdev_id.conf(5), can be found in their respective man pages. Several useful example files are installed under /etc/zfs/. /etc/zfs/vdev_id.conf.alias.example /etc/zfs/vdev_id.conf.multipath.example /etc/zfs/vdev_id.conf.sas_direct.example /etc/zfs/vdev_id.conf.sas_switch.example Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #981
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
#
|
||||
# @udevdir@/rules.d/60-zpool.rules
|
||||
#
|
||||
|
||||
ENV{DEVTYPE}=="disk", IMPORT{program}="@udevdir@/zpool_id -d %p"
|
||||
|
||||
KERNEL=="*[!0-9]", ENV{SUBSYSTEM}=="block", ENV{ID_ZPOOL}=="?*", SYMLINK+="$env{ID_ZPOOL_PATH}"
|
||||
KERNEL=="*[0-9]", ENV{SUBSYSTEM}=="block", ENV{DEVTYPE}=="partition", ENV{ID_ZPOOL}=="?*", SYMLINK+="$env{ID_ZPOOL_PATH}-part%n"
|
||||
KERNEL=="dm-[0-9]*", ENV{SUBSYSTEM}=="block", ENV{ID_ZPOOL}=="?*", SYMLINK+="$env{ID_ZPOOL_PATH}"
|
||||
@@ -1,12 +1,10 @@
|
||||
udevrule_DATA = \
|
||||
$(top_srcdir)/udev/rules.d/69-vdev.rules \
|
||||
$(top_srcdir)/udev/rules.d/60-zpool.rules \
|
||||
$(top_srcdir)/udev/rules.d/60-zvol.rules \
|
||||
$(top_srcdir)/udev/rules.d/90-zfs.rules
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(top_srcdir)/udev/rules.d/69-vdev.rules.in \
|
||||
$(top_srcdir)/udev/rules.d/60-zpool.rules.in \
|
||||
$(top_srcdir)/udev/rules.d/60-zvol.rules.in \
|
||||
$(top_srcdir)/udev/rules.d/90-zfs.rules.in
|
||||
|
||||
|
||||
Reference in New Issue
Block a user