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
dvd_drive_status [2021/10/17 17:47]
beandog
dvd_drive_status [2021/10/17 17:50] (current)
beandog
Line 2: Line 2:
  
   * [[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/​beandog/​dvd_info/​blob/​master/​dvd_drive_status.c|dvd_drive_status.c]]
  
-  * [[https://raw2.github.com/​beandog/​dvd_info/​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 thingsif 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 greatbut 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.+It has support on and off for *BSD systems. I like to work on itand then I don'​t. ​The kernels are different, and have different tray status checks and so on. I'm limited by that.
  
-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. +A man page is included with the ''​dvd_info'' ​program (man dvd_drive_status).
- +
-<​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.+
  
 === Context === === Context ===

Navigation