#freebsd #system #dragonfly-bsd #devd #hotplug

devd-rs

An interface to devd, the device hotplug daemon on FreeBSD and DragonFlyBSD

10 releases

0.3.6 Oct 1, 2022
0.3.4 Jun 11, 2022
0.3.3 Oct 8, 2021
0.3.2 Jul 1, 2021
0.1.0 Aug 18, 2017

#82 in Unix APIs

Download history 14829/week @ 2023-12-01 12916/week @ 2023-12-08 10119/week @ 2023-12-15 2731/week @ 2023-12-22 8509/week @ 2023-12-29 13366/week @ 2024-01-05 14205/week @ 2024-01-12 17431/week @ 2024-01-19 18363/week @ 2024-01-26 12407/week @ 2024-02-02 21785/week @ 2024-02-09 19672/week @ 2024-02-16 26819/week @ 2024-02-23 23682/week @ 2024-03-01 24921/week @ 2024-03-08 14923/week @ 2024-03-15

95,768 downloads per month
Used in 7 crates (2 directly)

Unlicense/MIT

13KB
256 lines

crates.io unlicense

devd-rs

A Rust library for listening to FreeBSD (also DragonFlyBSD) devd's device attach-detach notifications.

Listens on /var/run/devd.seqpacket.pipe and parses messages using nom.

Usage

See examples/main.rs.

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct and to release your contributions under the Unlicense and the MIT License.

The list of contributors is available on GitHub.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.

It is also available under the MIT License.

Dependencies

~1MB
~18K SLoC