RFE: Provide pre- and post- hooks for uevent `add` and `remove` actions
Opened this issue · 0 comments
tbzatek commented
Several times I came across the need to cross-update two objects interlinked together - e.g.
Drive.Size
property needs to be updated after theNVMe.Namespace
interface ueventLogicalVolume
needs to be updated after theVolumeGroup
interface uevent- btrfs/f2fs/bcachefs multidisk volumes will cross-link object paths
This is not a problem for add
and change
uevents as the required objects do still exist, however in case of a remove
uevent the cross-linked objects will need to be notified that something has gone missing.