CD-ROM
Short for Compact Disc-Read Only Memory, CD-ROM drives are CD players inside computers that can have speeds in the range from 1x and beyond, and have the capability of playing audio CDs and computer data CDs. Below is a picture of the front and back of a standard CD-ROM drive.
Interfaces
Below are the different types of Interfaces that allow a CD-ROM and other disc drives to connect to the computer.
- IDE / ATA - One of the most commonly used interfaces used still today to connect disc drives to the computer.
- Panasonic - Older proprietary interface.
- Parallel - Interface used with old external CD-ROM drives.
- PCMCIA (PC Card) - Interface sometimes used to connect external disc drives to laptop computers.
- SATA - Quickly replacing IDE as the new standard to connect disc drives.
- SCSI - It is highly recommended to get a card that matches the CD-ROM drive as some of the earlier drives had proprietary SCSI interfaces. Otherwise, a SCSI-2 card is recommended.
- USB - Interface most commonly used to connect external disc drives.
CD-ROM transfer speeds
Below is the standard transfer rates and access times of the majority of CD-ROM drives. The below figures are averages you can expect to find on each speed of CD-ROM drive. These averages may be slower or faster than your CD-ROM drive and to where the CD-ROM is accessing the data from the CD-ROM. In general the higher this number is the faster the transfer rate or in the case of a disc burner the faster the write rate.
Drive speed | Transfer rate (BPS) | Access time (ms) |
Single-speed (1x) | 153,600 | 400 |
Double-speed (2x) | 307,200 | 300 |
Triple-speed (3x) | 460,800 | 200 |
Quad-speed (4x) | 614,400 | 150 |
Six-speed (6x) | 921,600 | 150 |
Eight-speed (8x) | 1,228,800 | 100 |
Ten-speed (10x) | 1,536,000 | 100 |
Twelve-speed (12x) | 1,843,200 | 100 |
Sixteen-speed (16x) | 2,457,600 | 90 |
Eighteen-speed (18x) | 2,764,800 | 90 |
Twenty-four-speed (24x) | 3,686,400 | 90 |
Thirty-two-speed (32x) | 4,915,200 | 85 |
One-hundred-speed (100x) | 15,360,000 | 80 |
CAV drives (12x - 24x) | 1,843,200 - 3,686,400 | 150-90 |
Working with CD-ROM Drives
How to Load/Unload a CD/DVD
If you've heard people talk about "mounting and unmounting volumes," when talking about Linux or Unix, you might be worried that using CDs or DVDs will be a cumbersome process. However, in Ubuntu loading and unloading a CD or DVD is done the same as you're probably used to in Windows. Simply put the disc in your drive, and Ubuntu will see that it's there, and act appropriately. It will create an icon on your desktop, for accessing the disc, and, depending on what type of disc it is, will launch an appropriate application for dealing with it. (e.g. it may launch your default music player, if it's an audio CD, or launch your default movie player, if it's a DVD.)
When you're done using the CD/DVD, just like in Windows, you can simply eject the disc from the drive. (The icon that had been created on the desktop will disappear.) Or, if you wish, you can right-click on the icon on the desktop, and choose Eject.
How to Erase a CD-RW/DVD-RW
If you have a rewritable disc, CD or DVD, you can erase it at the command line, by entering the following commands:
$ sudo umount /dev/cdrom
$ cdrecord dev=/dev/cdrom blank=fast
ISO Files
There is a special type of file, called an ISO File, which is an image of a CD or DVD. (You can read more about ISO files on the wikipedia page.)
How to Create an ISO Image of a CD/DVD
$ sudo umount /dev/cdrom
$ dd if=/dev/cdrom of=file.iso bs=1024
How to Create an ISO Image From the File System
$ mkisofs -o file.iso /location_of_folder/
How to Burn an ISO Image to a CD/DVD
Simply right-click the .iso file, and choose Write to Disc->Write.
Mounting an ISO Image Without Burning It
This doesn't seem to work for audio CDs; only data CDs, or DVDs.
To Mount
$ sudo mkdir /media/iso
$ sudo modprobe loop
$ sudo mount file.iso /media/iso/ -t iso9660 -o loop
$ totem /media/iso
$ rhythmbox /media/iso
Some applications might even be able to read the .iso file directly, without having to mount it.
To Unmount
$ sudo umount /media/iso/
No comments:
Post a Comment