APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

drutil - command line access to CD's and DVD's


© December 2005 Tony Lawrence

Mac OS X has a wonderful little "drutil" tool (10.3 and up only). It can tell you all sorts of things about cd's and dvd's, from the simplest inventory:

 $ drutil list
    Vendor   Product           Rev   Bus       SupportLevel
 1  SONY     CD-RW  CRX820E    1.3a  ATAPI     Apple Shipping
 
 

to "more than I wanted to know":

 $ drutil getconfig supported | more
  Vendor   Product           Rev 
  SONY     CD-RW  CRX820E    1.3a
 
  Media: None
 
 GetConfiguration returned 152 bytes.
 
   00>  00 00 00 98 00 00 00 00 00 00 03 10 00 08 00 00
   10>  00 09 00 00 00 0A 00 00 00 10 00 00 00 01 03 04
   20>  00 00 00 02 00 02 03 04 00 00 00 00 00 03 03 04
   30>  2D 00 00 00 00 10 00 08 00 00 08 00 00 10 01 00
   40>  00 1D 03 00 00 1E 04 04 03 00 00 00 00 1F 00 00
   50>  00 21 08 08 35 00 01 01 07 00 00 00 00 23 04 00
   60>  00 26 00 00 00 27 00 04 00 00 00 00 00 2D 08 04
   70>  46 00 37 01 00 2E 04 04 66 01 00 00 01 00 03 00
   80>  01 03 00 04 03 00 00 FF 01 05 03 00 01 06 00 04
   90>  00 00 00 01 01 07 00 04
 
 Current Profile: 0
 
 Feature 0000h: Profile List
     Raw Feature Descriptor:
         00>  00 00 03 10 00 08 00 00 00 09 00 00 00 0A 00 00
 
 (output continues for a total of 316 lines on my iBook)
 
 

It has commands useful in shell scripts:

 $ drutil -drive 1 tray open
 
 

and many other abilities, including inspection of media and of course burning of images.


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> drutil - command line access to CD's and DVD's


Inexpensive and informative Apple related e-books:

Take Control of iCloud, Fifth Edition

Take Control of Numbers

iOS 10: A Take Control Crash Course

Photos for Mac: A Take Control Crash Course

Take Control of Upgrading to El Capitan




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





I am fascinated by religion. (That's a completely different thing from believing in it!) (Douglas Adams)




Linux posts

Troubleshooting posts


This post tagged:

Optical

Shell



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com