| DRUTIL(1) | General Commands Manual | DRUTIL(1) |
drutil — interact
with CD/DVD burners
drutil |
verb [options] |
drutil uses the DiscRecording framework to
interact with attached burning devices. Common verbs include
burn, erase, eject,
help, info, list,
status, and tray.
The rest of the verbs are: bulkerase, cdtext, discinfo, dumpiso, dumpudf, filename, getconfig, poll, size, subchannel, trackinfo, and version.
Types of erase:
From the MMC command of the same name.
drutil tray
eject.Types of erase:
Types of config information:
From the MMC command of the same name.
From the MMC command of the same name.
Tray commands:
drutil operate on a
specific drive. Since any number of drives may be available, and they may come
and go at any time, the device selection arguments provide a method for
selecting among them.
The candidate list starts out as a list of all attached drives. One or more arguments of the form -drive drive(s) may be specified. Each argument has the effect of narrowing the candidate list, depending on what drive(s) is. It may be:
Multiple -drive arguments may be specified; each
argument narrows the candidate list further. After all the
-drive arguments have been processed, the candidate list
is considered. If it contains exactly one item, that drive is used. If it
contains zero items, drutil prints an error message
and exits. If it contains more than one item, the selected function is
executed on all drives remaining in the list.
drutil help statusdrutil listdrutil infodrutil statusdrutil -drive internal burn -noverify
-eject -speed 24 ~/Documentsdrutil -drive internal info -xml >
driveInfo.xmlExamples of drive selection
drutil -drive 1 tray
closedrutil -drive external
infodrutil -drive firewire
statusdrutil -drive VENDOR tray
opendrutil -drive 'CD-RW CDW827ES'
getconfig supporteddrutil first appeared in MacOS X
10.3.diskutil(1), hdiutil(1), /usr/sbin/disktool (run with no args for usage).
| May 18, 2004 | Mac OS X |