@mfl/block-device-listener
v0.1.0
Published
Listens for block device add / removes. Writes to device-scanner-daemon socket.
Downloads
4
Readme
block-device-listener
A net.Socket client that is started when it receives a udev event for {ADD|REMOVE} of block devices.
The client will write to the unix domain socket of device-scanner-daemon
with the new event data. It acts as a middleman.
Udev event data is written over process.env to this module.