diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-12-21 12:24:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-12-23 12:42:37 +0100 |
commit | 583dc6d933d8eb84f338c28cbe2f4c86ee1ff069 (patch) | |
tree | 1b95b3cce8e8194942eabdf5e60b7a6fb7c1497e /rules.d | |
parent | import-creds: don't try to import VM creds in a container (diff) | |
download | systemd-583dc6d933d8eb84f338c28cbe2f4c86ee1ff069.tar.xz systemd-583dc6d933d8eb84f338c28cbe2f4c86ee1ff069.zip |
udev: also create partition /dev/disk/by-diskseq/ symlinks
Diffstat (limited to 'rules.d')
-rw-r--r-- | rules.d/60-persistent-storage.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.d/60-persistent-storage.rules b/rules.d/60-persistent-storage.rules index 18588e4c45..86e0165b0b 100644 --- a/rules.d/60-persistent-storage.rules +++ b/rules.d/60-persistent-storage.rules @@ -137,5 +137,6 @@ ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="disk/ # the diskseq number from the path, then issue BLKGETDISKSEQ to verify they really got # the right device, to access specific disks in a race-free fashion) ENV{DISKSEQ}=="?*", ENV{DEVTYPE}!="partition", ENV{DISKSEQ}=="?*", ENV{ID_IGNORE_DISKSEQ}!="1", SYMLINK+="disk/by-diskseq/$env{DISKSEQ}" +ENV{DISKSEQ}=="?*", ENV{DEVTYPE}=="partition", ENV{DISKSEQ}=="?*", ENV{ID_IGNORE_DISKSEQ}!="1", SYMLINK+="disk/by-diskseq/$env{DISKSEQ}-part%n" LABEL="persistent_storage_end" |