mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
32ab91e528
All block devices have a disk sequence number assigned (an ever-increasing 64 bit sequence number) since kernel v5.15 (February 2021). The number is exported through /sys/block/<disk>/diskseq property and also as DISKSEQ udev event variable. The diskseq helps with referencing a device throughout its existence in race-free way. By default, the /usr/lib/udev/rules.d/60-persistent-storage.rules set /dev/disk/by-diskseq/<diskseq> symlink for each block device. However, these rules do not apply for DM devices because we manage the symlinks ourselves in 13-dm-disk.rules where it properly follows the DM_UDEV_DISABLE_DISK_RULES flag, among other things. Add a rule to 13-dm-disk.rules to create the /dev/disk/by-diskseq/<diskseq>. |
||
---|---|---|
.. | ||
.gitignore | ||
10-dm.rules.in | ||
11-dm-lvm.rules.in | ||
12-dm-permissions.rules | ||
13-dm-disk.rules.in | ||
69-dm-lvm.rules.in | ||
95-dm-notify.rules.in | ||
Makefile.in |