|
|||||||||||
1. Managing Removable Media (Overview) 2. Managing Removable Media (Tasks) 3. Accessing Removable Media (Tasks) 4. Writing CDs and DVDs (Tasks) Working With Audio CDs and Data CDs and DVDs Writing CD and DVD Data and Audio CDs How to Restrict User Access to Removable Media With RBAC How to Identify a CD or DVD Writer How to Check the CD or DVD Media How to Create an ISO 9660 File System for a Data CD or DVD How to Create a Multi-Session Data CD 5. Managing Devices (Overview/Tasks) 6. Dynamically Configuring Devices (Tasks) 7. Using USB Devices (Overview) 9. Using InfiniBand Devices (Overview/Tasks) 11. Administering Disks (Tasks) 12. SPARC: Adding a Disk (Tasks) 13. x86: Adding a Disk (Tasks) 14. Configuring Solaris iSCSI Targets and Initiators (Tasks) 15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS) 16. The format Utility (Reference) 17. Managing File Systems (Overview) 18. Creating UFS, TMPFS, and LOFS File Systems (Tasks) 19. Mounting and Unmounting File Systems (Tasks) 20. Using The CacheFS File System (Tasks) 21. Configuring Additional Swap Space (Tasks) 22. Checking UFS File System Consistency (Tasks) 23. UFS File System (Reference) 24. Backing Up and Restoring File Systems (Overview) 25. Backing Up Files and File Systems (Tasks) 26. Using UFS Snapshots (Tasks) 27. Restoring Files and File Systems (Tasks) 28. UFS Backup and Restore Commands (Reference) 29. Copying UFS Files and File Systems (Tasks) |
Writing CD and DVD Data and Audio CDsThe process of writing to a CD or DVD cannot be interrupted and needs a constant stream of data. Consider using the cdrw -S option to simulate writing to the media to verify that the system can provide data at a sufficient rate for writing to the CD or DVD. Write errors can be caused by one of the following problems:
If any of these problems occur, you can lower the writing speed of the device by using the cdrw -p option. For example, the following command shows how to simulate writing at 4x speed: $ cdrw -iS -p 4 image.iso Note - CD-R, CD-RW (not MRW formatted), DVD-R, and DVD-RW media support simulation mode (-S), but DVD-RAM, DVD+R, DVD+RW, and any MRW-formatted media and some others do not support simulation mode. The following message is displayed if simulation mode is not supported: Media does not support simulated writing For more information about media types, see CD/DVD Media Commonly Used Terms. You can also use the cdrw -C option to use the stated media capacity for copying an 80-minute CD. Otherwise, the cdrw command uses a default value of 74 minutes for copying an audio CD. For more information, see cdrw(1). Restricting User Access to Removable Media With RBACBy default, all users can access removable media starting in the Solaris 9 release. However, you can restrict user access to removable media by setting up a role through role-based access control (RBAC). Access to removable media is restricted by assigning the role to a limited set of users. For a discussion of using roles, see Role-Based Access Control (Overview) in System Administration Guide: Security Services. How to Restrict User Access to Removable Media With RBAC
How to Identify a CD or DVD Writer
How to Check the CD or DVD MediaThe cdrw command works with or without removable media services running. For more information about disabling or enabling removable media services, see How to Disable or Enable Removable Media Services.
Creating a Data CD or DVDPrepare the data first by using the mkisofs command to convert the file and file information into the High Sierra format used on CDs or DVDs. How to Create an ISO 9660 File System for a Data CD or DVD
The following example shows how to create an ISO 9660 file system for a data CD or DVD. $ mkisofs -r /home/dubs/ufs_dir > ufs_cd Total extents actually written = 56 Total translation table size: 0 Total rockridge attributes bytes: 329 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 8000 56 extents written (0 Mb) Then, copy the file system onto the CD or DVD. $ cdrw -i ufs_cd Initializing device...done. Writing track 1...done. Finalizing (Can take several minutes)...done. How to Create a Multi-Session Data CDThis procedure describes how to put more than one session on a CD. This procedure includes an example of copying the infoA and infoB directories onto the CD.
Creating an Audio CDYou can use the cdrw command to create audio CDs from individual audio tracks or from .au and .wav files. The supported audio formats are describes in the following table:
If no audio format is specified, the cdrw command tries to determine the audio file format based on the file extension. The case of the characters in the extension is ignored. How to Create an Audio CDThis procedure describes how to copy audio files onto a CD.
The following example shows how to create an audio CD. $ cdrw -a bark.wav chirp.au meow.wav Initializing device...done. Writing track 1...done. done. Writing track 2...done. Writing track 3...done. done. Finalizing (Can take several minutes)...done. The following example shows how to create a multisession audio CD. The CD is ejected after the first session is written. You would need to re-insert the CD before the next writing session. $ cdrw -aO groucho.wav chico.au harpo.wav Initializing device...done. Writing track 1...done. done. Writing track 2...done. Writing track 3...done. done. Finalizing (Can take several minutes)...done. <Re-insert CD> $ cdrw -a zeppo.au Initializing device...done. Writing track 1...done. done. Finalizing (Can take several minutes)...done. How to Extract an Audio Track on a CDUse the following procedure to extract an audio track from a CD and copy the audio track to a new CD. If you don't use the cdrw -T option to specify the audio file type, the cdrw command uses the filename extension to determine the audio file type. For example, the cdrw command detects that this file is a .wav file. $ cdrw -x 1 testme.wav
The following example shows how to extract the first track from an audio CD and name the file song1.wav. $ cdrw -x -T wav 1 song1.wav Extracting audio from track 1...done. This example shows how to copy a track to an audio CD. $ cdrw -a song1.wav Initializing device...done. Writing track 1...done. Finalizing (Can take several minutes)...done. How to Copy a CDThis procedure describes how to extract all the tracks from an audio CD into a directory and then copy all of them onto a blank CD. Note - By default, the cdrw command copies the CD into the /tmp directory. The copying might require up to 700 Mbytes of free space. If there is insufficient space in the /tmp directory for copying the CD, use the -m option to specify an alternate directory.
This example shows how to copy one CD to another CD. You must have two CD-RW devices to do this task. $ cdrw -c -s cdrom0 -d cdrom1 How to Erase CD-RW MediaYou have to erase existing CD-RW data before the CD can be rewritten.
|
||||||||||
|