No description
Find a file
Ivan Bushchik f356c5528b
Wrap C functions
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2024-01-11 06:50:35 +03:00
src Wrap C functions 2024-01-11 06:50:35 +03:00
.gitignore Initial commit 2024-01-10 21:44:44 +03:00
build.rs Reformat code, add optional range, rename C file 2024-01-10 22:17:55 +03:00
Cargo.lock Initial commit 2024-01-10 21:44:44 +03:00
Cargo.toml Initial commit 2024-01-10 21:44:44 +03:00
LICENSE Initial commit 2024-01-10 21:44:44 +03:00
README.md Reformat code, add optional range, rename C file 2024-01-10 22:17:55 +03:00

Privod (оптический привод)

Eject CD/DVD/BD drive at random time.

Linux only.

Usage

cargo run <PATH_TO_DRIVE> [RANGE_START] [RANGE_END]

PATH_TO_DRIVE is usually /dev/sr0, RANGE_START (in secs) and RANGE_END (in secs) are optional (default is 5 and 300).

License

The project is licensed under the terms of the MIT license.