Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
dvd_drive_status [2014/02/20 14:49] beandog |
dvd_drive_status [2018/03/27 23:38] beandog |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== dvd_drive_status ====== | ====== dvd_drive_status ====== | ||
+ | * [[dvd_info]] package | ||
* [[https://github.com/beandog/dvd_info|dvd_info at github]] | * [[https://github.com/beandog/dvd_info|dvd_info at github]] | ||
Line 10: | Line 11: | ||
<code> | <code> | ||
- | $ wget https://raw2.github.com/beandog/dvd_tools/master/dvd_drive_status.c | + | $ wget https://raw2.github.com/beandog/dvd_info/master/dvd_drive_status.c |
$ gcc -o dvd_drive_status dvd_drive_status.c | $ gcc -o dvd_drive_status dvd_drive_status.c | ||
</code> | </code> | ||
+ | |||
+ | It has support on and off for *BSD systems. I like to work on it, and then I don't. The kernels are different, and have different tray status checks and so on. I'm limited by that. | ||
=== Context === | === Context === | ||
Line 57: | Line 60: | ||
=== Scripting === | === Scripting === | ||
- | The [[https://raw2.github.com/beandog/dvd_tools/master/dvd_drive_status.c|program]] reports status to stdout, but returns with an exit code indicating status as well. | + | The [[https://raw2.github.com/beandog/dvd_info/master/dvd_drive_status.c|program]] reports status to stdout, but returns with an exit code indicating status as well. |
Here's the exit codes: | Here's the exit codes: |