1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/udev
Peter Rajnoha 417e52c13a 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.
2014-02-18 11:37:20 +01:00
..
10-dm.rules.in udev: drop cryptsetup specific rules from 10-dm.rules 2014-01-22 15:18:57 +01:00
11-dm-lvm.rules.in udev: clear temporary variable properly 2014-01-20 12:54:10 +01:00
12-dm-permissions.rules add copyright lines 2009-10-26 22:42:07 +00:00
13-dm-disk.rules.in udev: add support for "NOSCAN" flag 2013-10-08 13:43:14 +02:00
69-dm-lvm-metad.rules.in udev: create /dev/disk/by-id/lvm-pv-uuid-<PV_UUID> symlink for a PV 2014-02-18 11:37:20 +01:00
95-dm-notify.rules.in udev: udev rules cleanup 2012-06-27 12:11:56 +02:00
Makefile.in make: correct sed line in udev's Makefile 2013-10-22 15:13:58 +02:00