This repo provides a persistent daemon That holds block devices + ZFS devices in memory.
It also provides listeners that emit changes to the daemon.
Finally, it also provides a proxy that transforms the unix domain socket events to HTTP POSTs.
┌───────────────┐ ┌───────────────┐
│ Udev Script │ │ ZEDlet │
└───────────────┘ └───────────────┘
│ │
└────────┬────────┘
▼
┌─────────────────────┐
│ Unix Domain Socket │
└─────────────────────┘
│
▼
┌───────────────────────────┐
│ Device Scanner Daemon │
└───────────────────────────┘
│
▼
┌─────────────────────┐
│ Unix Domain Socket │
└─────────────────────┘
│
▼
┌──────────────────┐
│ Consumer Process │
└──────────────────┘