Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
dvd_drive_status [2021/10/17 17:48]
beandog
dvd_drive_status [2021/10/17 17:49]
beandog
Line 3: Line 3:
   * [[dvd_info]] - main package   * [[dvd_info]] - main package
   * [[https://​github.com/​torvalds/​linux/​blob/​master/​include/​uapi/​linux/​cdrom.h|Linux cdrom.h]]   * [[https://​github.com/​torvalds/​linux/​blob/​master/​include/​uapi/​linux/​cdrom.h|Linux cdrom.h]]
-  * [[https://raw2.github.com/​beandog/​dvd_info/​master/​dvd_drive_status.c|dvd_drive_status.c]]+  * [[https://​github.com/​beandog/​dvd_info/blob/​master/​dvd_drive_status.c|dvd_drive_status.c]]
  
-This program is a successor to the small program [[trayopen]] (which also inspired this one).  ''​trayopen''​ works great, but it doesn'​t poll two things: if the drive is busy or if it has media. ''​dvd_drive_status''​ adds that feature plus a few more. +This program is a successor to the small program [[trayopen]] (which also inspired this one). ''​trayopen''​ works great, but it doesn'​t poll two things: if the drive is busy or if it has media. ''​dvd_drive_status''​ adds that feature plus a few more.
- +
-To build, just download the [[https://​raw2.github.com/​beandog/​dvd_info/​master/​dvd_drive_status.c|dvd_drive_status.c file]] and compile it. +
- +
-<​code>​ +
-$ wget https://​raw2.github.com/​beandog/​dvd_info/​master/​dvd_drive_status.c +
-$ gcc -o dvd_drive_status dvd_drive_status.c +
-</​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. 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.

Navigation