📄 cdrecord.man
字号:
CDRECORD(1) Schily's USER COMMANDS CDRECORD(1) ddddeeeevvvv====_t_a_r_g_e_t Sets the SCSI target for the CD-Recorder, see notes above. A typical device specification is ddddeeeevvvv====_6,_0 . If a filename must be provided together with the numerical target specification, the filename is implementation specific. The correct filename in this case can be found in the system specific manuals of the target operating system. On a _F_r_e_e_B_S_D system without _C_A_M sup- port, you need to use the control device (e.g. /_d_e_v/_r_c_d_0._c_t_l). A correct device specification in this case may be ddddeeeevvvv====/_d_e_v/_r_c_d_0._c_t_l:@ . On Linux, drives connected to a parallel port adapter are mapped to a virtual SCSI bus. Different adapters are mapped to different targets on this virtual SCSI bus. If no _d_e_v option is present, ccccddddrrrreeeeccccoooorrrrdddd will try to get the device from the CCCCDDDDRRRR____DDDDEEEEVVVVIIIICCCCEEEE environment. If the argument to the ddddeeeevvvv==== option does not contain the characters ',', '/', '@' or ':', it is interpreted as an label name that may be found in the file /etc/default/cdrecord (see FILES section). ttttiiiimmmmeeeeoooouuuutttt====# Set the default SCSI command timeout value to #. The default SCSI command timeout is the minimum timeout used for sending SCSI commands. If a SCSI command fails due to a timeout, you may try to raise the default SCSI command timeout above the timeout value of the failed command. If the command runs correctly with a raised command timeout, please report the better timeout value and the corresponding command to the author of the program. If no _t_i_m_e_o_u_t option is present, a default timeout of 40 seconds is used. ddddrrrriiiivvvveeeerrrr====_n_a_m_e Allows to use a user supplied driver name for the dev- ice. To get a list of possible drivers use ddddrrrriiiivvvveeeerrrr====hhhheeeellllpppp. The reason for the existence of this option is to allow users to use ccccddddrrrreeeeccccoooorrrrdddd with drives that are similar to supported drives but not known directly by ccccddddrrrreeeeccccoooorrrrdddd. Use this option with extreme care. If a wrong driver is used for a device, the pos- sibility of creating corrupted disks is high. The minimum problem related to a wrong driver is that the ---- ssssppppeeeeeeeedddd or ----dddduuuummmmmmmmyyyy will not work. There are two special driver entries in the list: ccccddddrrrr____ssssiiiimmmmuuuullll and ddddvvvvdddd____ssssiiiimmmmuuuullll. These driver entries are designed to make timing tests at any speed or timingJoerg Schilling Last change: Version 1.8 6CDRECORD(1) Schily's USER COMMANDS CDRECORD(1) tests for drives that do not support the ----dddduuuummmmmmmmyyyy option. The simulation drivers implement a drive with a buffer size of 1MB that can be changed via the CCCCDDDDRRRR____SSSSIIIIMMMMUUUULLLL____BBBBUUUUFFFFSSSSIIIIZZZZEEEE environment variable. The simultaion driver correctly simulates even a buffer underrun con- dition. If the ----dddduuuummmmmmmmyyyy option is present, the simul- taion is not aborted in case of a buffer underrun. ----cccchhhheeeecccckkkkddddrrrriiiivvvveeee Checks if a driver for the current drive is present and exit. If the drive is a known drive, ccccddddrrrreeeeccccoooorrrrdddd uses exit code 0. ----pppprrrrccccaaaapppp Print the drive capabilities for SCSI-3/mmc compliant drives as obtained from mode page 0x2A. Values marked with _k_B use 1000 bytes as kilo-byte, values marked with _K_B use 1024 bytes as Kilo-byte. ----iiiinnnnqqqq Do an inquiry for the drive, print the inquiry info and exit. ----ssssccccaaaannnnbbbbuuuussss Scan all SCSI devices on all SCSI busses and print the inquiry strings. This option may be used to find SCSI address of the CD-Recorder on a system. The numbers printed out as labels are computed by: bbbbuuuussss **** 111100000000 ++++ ttttaaaarrrr---- ggggeeeetttt ----rrrreeeesssseeeetttt Try to reset the SCSI bus where the CD recorder is located. This works not on all operating systems. ----iiiiggggnnnnssssiiiizzzzeeee Ignore the known size of the medium. This options should be used with extreme care, it exists only for debugging purposes don't use it for other reasons. It is not needed to write disks with more than the nominal capacity. ----uuuusssseeeeiiiinnnnffffoooo Use *.inf files to overwrite audio options. If this option is used, the pregap size information is read from the *.inf file that is associated with the file that contains the audio data for a track. ddddeeeeffffpppprrrreeeeggggaaaapppp=# Set the default pre-gap size for all tracks except track number 1. This option currently only makes sense with the TEAC drive when creating track-at-once disks without the 2 second silence before each track.Joerg Schilling Last change: Version 1.8 7CDRECORD(1) Schily's USER COMMANDS CDRECORD(1) This option may go away in future. ----ppppaaaacccckkkkeeeetttt Set PPPPaaaacccckkkkeeeetttt wwwwrrrriiiittttiiiinnnngggg mmmmooooddddeeee.... This is an experimental inter- face. ppppkkkkttttssssiiiizzzzeeee=# Set the paket size to #, forces fixed packet mode. This is an experimental interface. ----nnnnoooocccclllloooosssseeee Do not close the current track, useful only when in packet writing mode. This is an experimental inter- face. mmmmccccnnnn====mmmmeeeedddd____ccccaaaatttt____nnnnrrrr Set the MMMMeeeeddddiiiiaaaa CCCCaaaattttaaaalllloooogggg NNNNuuuummmmbbbbeeeerrrr of the CD to _m_e_d__c_a_t__n_r.TTTTRRRRAAAACCCCKKKK OOOOPPPPTTTTIIIIOOOONNNNSSSS Track options may be mixed with track file names. iiiissssrrrrcccc====IIIISSSSRRRRCCCC____nnnnuuuummmmbbbbeeeerrrr Set the IIIInnnntttteeeerrrrnnnnaaaattttiiiioooonnnnaaaallll SSSSttttaaaannnnddddaaaarrrrdddd RRRReeeeccccoooorrrrddddiiiinnnngggg NNNNuuuummmmbbbbeeeerrrr for the next track to _I_S_R_C__n_u_m_b_e_r. iiiinnnnddddeeeexxxx====_l_i_s_t Sets an index list for the next track. In index list is a comma separated list of numbers that are counting from index 1. The first entry in this list must contain a 0, the following numbers must be an ascending list of numbers (counting in 1/75 seconds) that represent the start of the indices. An index list in the form: 0,7500,15000 sets index 1 to the start of the track, index 2 100 seconds from the start of the track and index 3 200 seconds from the start of the track. ----aaaauuuuddddiiiioooo If this flag is present, all subsequent tracks are written in CCCCDDDD----DDDDAAAA (similar to Red Book) audio format. The file with data for this tracks should contain stereo, 16-bit digital audio with 44100 samples/s. The byte order should be the following: MSB left, LSB left, MSB right, LSB right, MSB left and so on. The track should be a multiple of 2352 bytes. It is not possible to put the master image of an audio track on a raw disk because data will be read in multiple of 2352 bytes during the recording process. If a filename ends in ._a_u or ._w_a_v the file is con- sidered to be a structured audio data file. CCCCddddrrrreeeeccccoooorrrrdddd assumes that the file in this case is a Sun audio fileJoerg Schilling Last change: Version 1.8 8CDRECORD(1) Schily's USER COMMANDS CDRECORD(1) or a Microsoft .WAV file and extracts the audio data from the files by skipping over the non-audio header information. In all other cases, cdrecord will only work correctly if the audio data stream does not have any header. Because many structured audio files do not have an integral number of blocks (1/75th second) in length, it is often necessary to specify the ----ppppaaaadddd option as well. ccccddddrrrreeeeccccoooorrrrdddd recognizes that audio data in a .WAV file is stored in Intel (little-endian) byte order, and will automatically byte-swap the data if the CD recorder requires big-endian data. CCCCddddrrrreeeeccccoooorrrrdddd will reject any audio file that does not match the Red Book requirements of 16-bit stereo samples in PCM coding at 44100 samples/second. Using other structured audio data formats as input to ccccddddrrrreeeeccccoooorrrrdddd will usually work if the structure of the data is the structure described above (raw pcm data in big- endian byte order). However, if the data format includes a header, you will hear a click at the start of a track. If neither -_d_a_t_a nor - _a_u_d_i_o have been specified, ccccddddrrrreeeeccccoooorrrrdddd defaults to -_a_u_d_i_o for all filenames that end in ._a_u or ._w_a_v and to -_d_a_t_a for all other files. ----sssswwwwaaaabbbb If this flag is present, audio data is assumed to be in byte-swapped (little-endian) order. Some types of CD- Writers e.g. Yamaha, Sony and the new SCSI-3/mmc drives require audio data to be presented in little-endian order, while other writers require audio data to be presented in the big-endian (network) byte order nor- mally used by the SCSI protocol. CCCCddddrrrreeeeccccoooorrrrdddd knows if a CD-Recorder needs audio data in big- or little-endian order, and corrects the byte order of the data stream to match the needs of the recorder. You only need the -_s_w_a_b flag if your data stream is in Intel (little- endian) byte order. Note that the verbose output of ccccddddrrrreeeeccccoooorrrrdddd will show you if swapping is necessary to make the byte order of the input data fit the required byte order of the recorder. CCCCddddrrrreeeeccccoooorrrrdddd will not show you if the -_s_w_a_b flag was actu- ally present for a track. ----ddddaaaattttaaaa If this flag is present, all subsequent tracks are written in CCCCDDDD----RRRROOOOMMMM mmmmooooddddeeee 1111 (Yellow Book) format. The data is a multiple of 2048 bytes. The file with track data should contain an IIIISSSSOOOO----9999666666660000 or RRRRoooocccckkkk RRRRiiiiddddggggeeee filesystem image (see mmmmkkkkiiiissssooooffffssss for more details). If the track dataJoerg Schilling Last change: Version 1.8 9CDRECORD(1) Schily's USER COMMANDS CDRECORD(1) is an uuuuffffssss filesystem image, fragment size should be set to 2 KB or more to allow CR-drives with 2 KB sector size to to be used for reading. -data is the default, if no other flag is present. If neither -_d_a_t_a nor - _a_u_d_i_o have been specified, ccccddddrrrreeeeccccoooorrrrdddd defaults to -_a_u_d_i_o for all filenames that end in ._a_u or ._w_a_v and to -_d_a_t_a for all other files. ----mmmmooooddddeeee2222 If this flag is present, all subsequent tracks are written in CCCCDDDD----RRRROOOOMMMM mmmmooooddddeeee 2222 format. The data is a multiple of 2048 bytes. ----xxxxaaaa1111 If this flag is present, all subsequent tracks are written in CCCCDDDD----RRRROOOOMMMM XXXXAAAA mmmmooooddddeeee 1111 format. The data is a mul- tiple of 2048 bytes. ----xxxxaaaa2222 If this flag is present, all subsequent tracks are written in CCCCDDDD----RRRROOOOMMMM XXXXAAAA mmmmooooddddeeee 2222 format. The data is a mul- tiple of 2048 bytes. ----ccccddddiiii If this flag is present, all subsequent tracks are written in CCCCDDDDIIII format. The data is a multiple of 2048 bytes. ----iiiissssoooossssiiiizzzzeeee Use the IIIISSSSOOOO----9999666666660000 file system size as the size of the next track. This option is needed if you want to read the image of a track from a raw disk partition or on a master CD. In the first case the option ----iiiissssoooossssiiiizzzzeeee is needed to limit the size of the CD to the size of the ISO filesystem. In the second case the option ----iiiissssoooossssiiiizzzzeeee is needed to prevent ccccddddrrrreeeeccccoooorrrrdddd from reading the two run out blocks that are appended by each CD-recorder in track at once mode. These two run out blocks cannot be read and would cause a buffer under run that would cause a defective copy. Do not use this option if ccccddddrrrreeeeccccoooorrrrdddd reads the track data from _s_t_d_i_n. This option currently cannot be used to determine the size of a file system if the multi session option is present. ----ppppaaaadddd If the track is a data track, 15 sectors of zeroed data will be added to the end of this and each subse- quent data track. In this case, the ---- ppppaaaadddd option is superseded by the ppppaaaaddddssssiiiizzzzeeee==== option. It will remain how- ever as a shorthand for ppppaaaaddddssssiiiizzzzeeee====11115555ssss.... If the - _p_a_d option refers to an audio track, ccccddddrrrreeeeccccoooorrrrdddd will pad the audio data to be a multiple of 2352 bytes. The audio data padding is done with binary zeroes which is equal to absolute silence.Joerg Schilling Last change: Version 1.8 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -