diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index f4e796cac..c5fa162f1 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.204 - =================== + Create /dev/disk/by-diskseq/ symlink for public DM devices. Version 1.02.203 - 09th December 2024 ===================================== diff --git a/udev/13-dm-disk.rules.in b/udev/13-dm-disk.rules.in index 03ea203ee..9bfeebe13 100644 --- a/udev/13-dm-disk.rules.in +++ b/udev/13-dm-disk.rules.in @@ -17,6 +17,8 @@ ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="dm_end" SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}" ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}" +ENV{DISKSEQ}=="?*", SYMLINK+="disk/by-diskseq/$env{DISKSEQ}" + ENV{.DM_SUSPENDED}=="1", ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}=="1", GOTO="dm_import" ENV{.DM_NOSCAN}=="1", ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}=="1", GOTO="dm_import" ENV{.DM_SUSPENDED}=="1", GOTO="dm_end"