udisks
udisks copied to clipboard
RFE: Provide pre- and post- hooks for uevent `add` and `remove` actions
Several times I came across the need to cross-update two objects interlinked together - e.g.
Drive.Sizeproperty needs to be updated after theNVMe.Namespaceinterface ueventLogicalVolumeneeds to be updated after theVolumeGroupinterface 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.