AW: How to detect a CD Drive / write permissions?
Stephen Barncard
stephenREVOLUTION2 at barncard.com
Sat Dec 6 11:50:45 EST 2008
On MacOSX, perhaps drutil can work for you
Usage: drutil -drive [drive-arguments] command [command-options-and-arguments]
drutil commands are:
atip - Displays ATIP information about inserted CD-R/RW media.
bulkerase - Bulk erases -RW media in either quick or full mode.
drutil bulkerase (quick | full)
burn - Burns a given file or directory to disc. drutil burn
(burn-options) <path>
cdtext - Displays CD-Text present on an audio CD.
discinfo - Displays disc related info when media is present.
dumpiso - Parses ISO-9660 directory structures. drutil dumpiso
<devnode> <block> [format]
dumpudf - Parses UDF directory structures. drutil dumpudf <devnode>
<block> [format]
eject - Ejects media from the drive (if any).
erase - Erases -RW media in either quick or full mode. drutil erase
(quick | full)
filename - Translates filenames for different filesystems. drutil
filename <name>
getconfig - Displays current and supported device features and
profiles. drutil getconfig (current | supported)
info - Displays detailed information about connected drives.
list - Lists all connected burning devices.
poll - Constantly polls and displays device notifications.
status - Displays detailed information about inserted media.
subchannel - Displays subchannel (MCN, ISRC) info when CD media is present.
toc - Displays TOC information about inserted CD media.
trackinfo - Displays track related info when media is present.
tray - Opens and closes drive tray, and ejects media. drutil tray
(open | close | eject)
version - Display the OS and DiscRecording version numbers.
>Hi Ken,
>Mac and Win. Obviously there is no native Rev function, do you have snippets
>how to ask the shell for it?
>Thank you
>Tiemo
>
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list