summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-02-18 11:27:21 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2014-02-18 11:37:20 +0100
commit417e52c13a8156b11c25c411d44bda8b32bf87e4 (patch)
treecfd78e5e8febba83ad8381e88c5e9ddbd6ad6f8e /make.tmpl.in
parent0e0f91b6ddcdd338bcd528b3f44eb3f019704fb3 (diff)
downloadlvm2-417e52c13a8156b11c25c411d44bda8b32bf87e4.tar.gz
udev: create /dev/disk/by-id/lvm-pv-uuid-<PV_UUID> symlink for a PV
We already have /dev/disk/by-id/dm-uuid-... (which encompasses the VG UUID and LV UUID in case of LVs since the mapping's UUID is VG+LV UUID together) and /dev/disk/by-id/dm-name-... (which encompasses the VG and LV name in case of LVs). This patch addds /dev/disk/by-id/lvm-pv-uuid-<PV_UUID> that completes this scheme and makes navigation a bit easier using PV UUIDs since one can navigate using PV UUIDs only and there's no need to do extra PV UUID <--> kernel name matching (the PV UUID is stable across reboots). This may come in handy in various scripts. Since we already have the PV UUID stored in udev database (as a result of blkid call - returned in ID_FS_UUID blkid's variable), this operation is very cheap indeed, just creating the extra one symlink.
Diffstat (limited to 'make.tmpl.in')
0 files changed, 0 insertions, 0 deletions