]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev/sd: add support for DISKSEQ
authorLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 20 Jul 2021 14:22:16 +0000 (15:22 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 28 Jul 2021 18:59:38 +0000 (19:59 +0100)
commit122adcb294b98409c2f7ce4845d9d3ad1e4ef8b6
tree3d97f8ca05bb202cd5c8fd5c5fb14cf079bc4baa
parent463aef23a73d7850e0208cf4e96fd448693a755a
udev/sd: add support for DISKSEQ

DISKSEQ is a monotonic per-use unique sequence number, incremented
on each block device create/attach. For example, the same loop device
will have different diskseq each time an object is attached to it.
Add sd/udev helpers to parse/expose it.
src/libsystemd/libsystemd.sym
src/libsystemd/sd-device/device-internal.h
src/libsystemd/sd-device/device-private.c
src/libsystemd/sd-device/sd-device.c
src/systemd/sd-device.h