Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use Disk Utility to erase CD-RW discs System
I wondered for a long time how to erase a CD-RW with OS X. In fact, this is very simple (though I don't really like this method): it is done with Disk Utility (in Applications/Utilities).

I don't like it, because with this program, you can also erase any disk! I would have liked to create an Applescript to do it, but Disk Utility isn't scriptable...

[Editor's note: Although basic, this is one of the major changes with OS X. You no longer can erase a disk from the Finder - you must use Disk Utility. Keep this in mind when you look for "Erase..." in the Finder only to discover it's not there!]
  • Currently 1.00 / 5
  You rated: 1 / 5 (3 votes cast)

Use Disk Utility to erase CD-RW discs | 2 comments | Create New Account
Click here to return to the 'Use Disk Utility to erase CD-RW discs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Maybe shell script?
Authored by: Anonymous on Nov 06, '01 11:17:18AM

I am unable to test/verify my statements, but given MacOS X has the full underpinnings of a BSD Unix system, it seems plausible that there is a way to erase any disk from the command-line, meaning a simple shell script can be written to automate the task of erasing a CD-RW disk as well. Just my two cents.

[ Reply to This | # ]
Maybe shell script?
Authored by: robh on Nov 07, '01 06:55:00AM

The command to erase a disk is..

/sbin/newfs_hfs -w -v untitled /dev/diskXX

Use 'df' to find out what 'diskXX' is for your CD. Note that 'XX' can vary depending on what other disks are mounted, so you can't hardcode this info into a script.

I reckon it's safer to use Disk Utility to erase the disk.

type "/sbin/newfs_hfs -h" to see some brief help on the flags the command accepts.

[ Reply to This | # ]