Copy implementation from lws.
Ensure mounts are configurable.
Split callback logic into several functions.
Correctly dereference pointers.
Add third-party mocks, specify mock files. /? Do we need first-party mocks in their own files, or can we provide a mock flag in the implementation files already?
Make device handling opt-in.