⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cdrecord.ps

📁 刻录光盘的程序
💻 PS
📖 第 1 页 / 共 5 页
字号:
R(J)72 768 Q -.25(..)75.89 762.5 S(or)75.89 768 Q 2.5(gS)-.18 G 153.065(chilling V)97.1 768 R(ersion 1.8)-1.11 E(5)535 768 Q EP%%Page: 6 6BP/F0 10/Times-Roman@0 SF 104.275(CDRECORD\(1\) Schily\264s)72 48 R(USER COMMANDS)2.5 E(CDRECORD\(1\))473.89 48 Q 1.834(endian \(network\) byte order normally used by the SCSI protocol.)144 84 R/F110/Times-Bold@0 SF(Cdr)6.834 E(ecord)-.18 E F0 1.835(knows if a CD-)4.335 F1.257(Recorder needs audio data in big- or little-endian order)144 96 R 3.757(,a)-.4 G 1.257(nd corrects the byte order of the data)384.303 96 R .352(stream to match the needs of the recorder)144 108 R 5.353(.Y)-.55 G .353(ou only need the)325.217 108 R/F2 10/Times-Italic@0 SF(\255swab)2.853 E F0.353(\215ag if your data stream is in)2.853 F(Intel \(little-endian\) byte order)144 120 Q(.)-.55 E .187(Note that the verbose output of)144 144 R F1(cdr)2.687 E(ecord)-.18 E F0 .187(will show you if swapping is necessary to make the byte)2.687 F .563(order of the input data \214t the required byte order of the recorder)144 156R(.)-.55 E F1(Cdr)5.564 E(ecord)-.18 E F0 .564(will not show you if)3.064 F(the)144 168 Q F2(\255swab)2.5 E F0(\215ag was actually present for a track.)2.5 E F1(\255data)108 184.8 Q F0 .819(If this \215ag is present, all subsequent tracks are written in)144 184.8 R F1.819(CD-ROM mode 1)3.319 F F0(\(Y)3.318 E .818(ellow Book\) for)-1 F(-)-.2 E.289(mat. The data is a multiple of 2048 bytes.)144 196.8 R .289(The \214le with track data should contain an)5.289 F F1(ISO-9660)2.789 E F0(or)2.789 E F1 .361(Rock Ridge)144 208.8 R F0 .361(\214lesystem image \(see)2.861 F F1(mkisofs)2.861 E F0 .361(for more details\). If the track data is an)2.861 F F1(ufs)2.86 E F0(\214lesystem)2.86 E .093(image, fragment size should \be set to 2 KB or more to allow CR-drives with 2 KB sector size to to)144 220.8R(be used for reading.)144 232.8 Q(\255data is the default, if no other \215ag is present.)144 249.6 Q 1.163(If neither)144 266.4 R F2(\255data)3.663 E F0(nor)3.662 E F2(\255audio)3.662 EF0 1.162(have been speci\214ed,)3.662 F F1(cdr)3.662 E(ecord)-.18 E F0 1.162(defaults to)3.662 F F2(\255audio)3.662 E F0 1.162(for all \214lenames)3.662 F(that end in)144 278.4 Q F2(.au)2.5 E F0(or)2.5 E F2(.wav)2.5 E F0(and to)2.5 EF2(\255data)2.5 E F0(for all other \214les.)2.5 E F1(\255mode2)108 295.2 Q F0.399(If this \215ag is present, all subsequent tracks are written in)144 307.2R F1 .399(CD-ROM mode 2)2.899 F F0 .399(format. The data is a)2.899 F(multiple of 2048 bytes.)144 319.2 Q F1(\255xa1)108 336 Q F0 .374(If this \215ag is present, all subsequent tracks are written in)144 336 R F1.373(CD-ROM XA mode 1)2.873 F F0 .373(format. The data)2.873 F(is a multiple of 2048 bytes.)144 348 Q F1(\255xa2)108 364.8 Q F0 .373(If this \215ag is present, all subsequent tracks are written in)144 364.8 R F1.374(CD-ROM XA mode 2)2.874 F F0 .374(format. The data)2.874 F(is a multiple of 2048 bytes.)144 376.8 Q F1(\255cdi)108 393.6 Q F0 .985(If this \215ag is present, all subsequent tracks are written in)144 393.6 R F1(CDI)3.484 E F0 .984(format. The data is a multiple of)3.484 F(2048 bytes.)144405.6 Q F1(\255isosize)108 422.4 Q F0 .332(Use the)144 434.4 R F1(ISO-9660)2.832 E F0 .333(\214le system size as the size of the next track.)2.832 F .333(This option is needed if you want)5.333 F .011(to read the image of a track f\rom a raw disk partition or on a master CD. In the \214rst case the option)144446.4 R F1(\255isosize)144 458.4 Q F0 .295(is needed to limit the size of the CD to the size of the ISO \214lesystem.)2.795 F .295(In the second case)5.295 F 1.145(the option)144 470.4 R F1(\255isosize)3.645 E F0 1.145(is needed to prevent)3.645 F F1(cdr)3.645 E(ecord)-.18 E F0 1.145(from reading the two run out blocks that are)3.645 F.989(appended by each CD-recorder in track at once mode. These two run out blo\cks cannot be read)144 482.4 R .724(and would cause a buf)144 494.4 R .723(fer under run that would cause a defective copy)-.18 F 5.723(.D)-.65 G 3.223(on)446.655 494.4 S .723(ot use this option if)459.878 494.4 R F1(cdr)144 506.4Q(ecord)-.18 E F0 .828(reads the track data from)3.328 F F2(stdin)3.329 E F05.829(.T).21 G .829(his option currently cannot be used to determine the)325.618 506.4 R(size of a \214le system if the multi session option is present.)144 518.4 Q F1(\255pad)108 535.2 Q F0 .29(If the track is a data track, 15 sectors of zeroed\ data will be added to the end of this and each sub-)144 535.2 R 1.33(sequent data track.)144 547.2 R 1.33(In this case, the)6.33 F F1(\255pad)3.831E F0 1.331(option is superseded by the)3.831 F F1(padsize=)3.831 E F0 1.331(option. It will)3.831 F .048(remain however as a shorthand for)144 559.2 R F1(padsize=15s.)2.548 E F0 .048(If the)5.048 F F2(\255pad)2.547 E F0 .047(option refers to an audio track,)2.547 F F1(cdr)2.547 E(e-)-.18 E(cord)144571.2 Q F0 .42(will pad the audio data to be a multiple of 2352 bytes.)2.92 F.42(The audio data padding is done with)5.42 F(binary zeroes which is equal to absolute silence.)144 583.2 Q F1(\255pad)144607.2 Q F0(remains valid until disabled by)2.5 E F1(\255nopad)2.5 E F0(.)A F1(padsize=)108 624 Q F0(#)A .363(Set the amount of data to be appended as padding to the next track to #.)144636 R .362(Opposed to the behavior)5.362 F .478(of the)144 648 R F1(\255pad)2.978 E F0 .478(option, the value for)2.978 F F2(padsize=)2.978 E F0 .479(is reset to zero for each new track.)2.978 F(See)5.479 E F1(fs)2.979 E F02.979(=o)C .479(ption for)504.801 648 R .347(possible ar)144 660 R 2.847(guments. Use)-.18 F .346(this option if your CD-drive is not able to read the last sectors of a track)2.846 F 1.033(or if you want to be able to read the CD on a)144 672 R F1(Linux)3.534 E F0 1.034(system with the ISO-9660 \214lesystem read)3.534 F .527(ahead bug.)144 684 R .527(If an empty \214le is used for track data, this opt\ion may be used to create a disk that is)5.527 F(entirely made of padding.)144696 Q(J)72 768 Q -.25(..)75.89 762.5 S(or)75.89 768 Q 2.5(gS)-.18 G 153.065(chilling V)97.1 768 R(ersion 1.8)-1.11 E(6)535 768 Q EP%%Page: 7 7BP/F0 10/Times-Roman@0 SF 104.275(CDRECORD\(1\) Schily\264s)72 48 R(USER COMMANDS)2.5 E(CDRECORD\(1\))473.89 48 Q/F1 10/Times-Bold@0 SF(\255nopad)108 84 Q F0(Do not pad the following tracks \255 the default.)144 96 Q F1(pr)108 112.8 Q(egap)-.18 E F0(=#)A .986(Set the)144 124.8 R .986(pre-gap size for the next track.)5.986 F .986(This option currently only makes sense with the TEAC)5.986 F(drive when creat\ing track-at-once disks without the 2 second silence before each track.)144136.8 Q(This option may go away in future.)144 148.8 Q F1(\255pr)108 165.6 Q(eemp)-.18 E F0 .432(If this \215ag is present, all T)144 177.6 R .432(OC entries for subsequent audio tracks will indicate that the audio data)-.18F 1.35(has been sampled with 50/15)144 189.6 R/F2 10/TSymbol SF(m)3.85 E F01.35(sec preemphasis.)B 1.35(The data, however is not modi\214ed during the)6.35 F(process of transferring from \214le to disk.)144 201.6 Q(This option has no ef)5 E(fect on data tracks.)-.18 E F1(\255nopr)108 218.4 Q(eemp)-.18 E F0 .432(If this \215ag is present, all T)144 230.4 R .432(OC entries for subsequent audio tracks will indicate that the audio data)-.18F(has been mastered with linear data \255 this is the default.)144 242.4 Q F1(tsize=#)108 259.2 Q F0 .373(If the master image for the next track has been s\tored on a raw disk, use this option to specify the)6.42 F .434(valid amount o\f data on this disk. If the image of the next track is stored in a regular \\214le, the size)144 271.2 R .45(of that \214le is taken to determine the length of this track.)144 283.2 R .45(If the track contains an ISO 9660 \214lesy-)5.45 F(stem image use the)144295.2 Q/F3 10/Times-Italic@0 SF(\255isosize)2.5 E F0(option to determine the length of that \214lesystem image.)2.5 E .952(In Disk\ at Once mode and with some drives that use the TEAC programming interface, ev\en in)144 307.2 R -.35(Tr)144 319.2 S .945(ack at Once mode,).35 F F1(cdr)3.446E(ecord)-.18 E F0 .946(needs to know the size of each track before starting to write the)3.446 F2.949(disk. Cdrecord)144 331.2 R .448(now checks this and aborts before starting to write.)2.949 F .448(If this happens you will need)5.448 F .52(to run)144 343.2 R F1 .52(mkisofs -print-size)3.02 F F0 .52(before and use the output as an ar)3.02 F.52(gument to the)-.18 F F1(tsize)3.02 E F0 3.02(=o)C .52(ption of)483.04 343.2R F1(cdr)3.02 E(e-)-.18 E(cord)144 355.2 Q F0(.)A(See)144 367.2 Q F1(fs)2.5 EF0 2.5(=o)C(ption for possible ar)181.3 367.2 Q(guments.)-.18 E/F4 9/Times-Bold@0 SF(EXAMPLES)72 396 Q F0 .598(For all examples below)108 408 R3.098(,i)-.65 G 3.097(tw)211.122 408 S .597(ill be assumed that the CD-Recorder is connected to the primary SCSI bus of)224.219 408 R(the machine. The SCSI tar)108 420 Q(get id is set to 2.)-.18 E1.4 -.7(To r)108 436.8 T(ecord a pure CD-ROM at double speed, using data from the \214le).7 E F3(cdimage.raw)2.5 E F0(:).33 E(cdrecord \255v speed=2 dev=2,0 cdimage.raw)118453.6 Q 1.4 -.7(To c)108 470.4 T(reate an image for a ISO 9660 \214lesystem with Rock Ridge extensions:).7 E(mkisofs \255R \255o cdimage.raw /home/joer)118 487.2 Q(g/master/tree)-.18 E1.4 -.7(To c)108 504 T(heck the resulting \214le before writing to CD on Solaris:).7 E(mount \255r \255F fbk \255o type=hsfs /dev/fbk0:cdimage.raw /mnt)118 520.8 Q(On Linux:)108 537.6 Q(mount cdimage.raw \255r \255t iso9660 \255o loop /mnt)118 554.4 Q(Go on with:)108 571.2 Q(ls \255lR /mnt)118 583.2 Q(umount /mnt)118595.2 Q .556(If the overall speed of the system is suf)108 612 R .557(\214cient and the structure of the \214lesystem is not too complex, cdre-)-.18F(cord will run without creating an image of the ISO 9660 \214lesystem. Simply\ run the pipeline:)108 624 Q(mkisofs \255R /master/tree | cdrecord \255v fs=6m speed=2 dev=2,0 -)118 640.8Q .915(The recommended minimum \214fo size for running this pipeline is 4 MBytes.)108657.6 R .915(As the default \214fo size is 4)5.915 F .403(MB, the)108 669.6 RF1(fs=)2.903 E F0 .404(option needs only be present if you want to use a dif)2.903 F .404(ferent \214fo size.)-.18 F .404(If your system is loaded,)5.404 F(you should run mkisofs in the real time class too.)108 681.6 Q 1.4 -.7(To r)5H(aise the priority of).7 E F1(mkisofs)2.5 E F0(replace the command)2.5 E(mkisofs \255R /master/tree)118 698.4 Q(by)108 710.4 Q(priocntl \255e \255c R)118 722.4 Q 2.5<54ad>-.6 G 2.5(p5)197.09 722.4 S 2.5(9m)209.59 722.4 S(kisofs \255R /master/tree)224.87 722.4 Q(J)72 768 Q -.25(..)75.89 762.5 S(or)75.89 768 Q 2.5(gS)-.18 G 153.065(chilling V)97.1 768 R(ersion 1.8)-1.11 E(7)535 768 Q EP%%Page: 8 8BP/F0 10/Times-Roman@0 SF 104.275(CDRECORD\(1\) Schily\264s)72 48 R(USER COMMANDS)2.5 E(CDRECORD\(1\))473.89 48 Q(on Solaris and by)108 84 Q(nice --18 mkisofs \255R /master/tree)118 108 Q(on systems that don')108 132 Q2.5(th)-.18 G(ave)200.6 132 Q/F1 10/Times-Bold@0 SF(UNIX International)2.5 E F0(compliant realtime scheduling.)2.5 E 1.563(Cdrecord runs at priority 59 on So\laris, you should run mkisofs at no more than priority 58. On other)108 148.8 R(systems, you should run mkisofs at no less than nice --18.)108 160.8 Q .359(C\reating a CD-ROM without \214le system image on disk has been tested on a Spar\cstation-2 with a Y)108 177.6 R(amaha)-1 E .49(CDR-400. It did work up to quad speed when the machine was not loaded.)108189.6 R 2.989(Af)5.489 G .489(aster machine may be able)431.964 189.6 R(to handle quad speed also in the loaded case.)108 201.6 Q 5.793 -.7(To r)108218.4 T 4.393(ecord a pure CD-DA \(audio\) at single speed, with each track co\ntained in a \214le named).7 F/F2 10/Times-Italic@0 SF(track01.cdaudio)108230.4 Q F0(,).17 E F2(track02.cdaudio)2.5 E F0 2.5(,e).17 G(tc:)253.32 230.4 Q(cdrecord \255v speed=1 dev=2,0 -audio track*.cdaudio)118 247.2 Q 1.4 -.7(To c)108 264 T(heck if it will be ok to use double speed for the example above.).7 E(Use the dummy write option:)5 E(cdrecord \255v \255dummy speed=2 dev=2,0 \255audio track*.cdaudio)118 280.8 Q2.363 -.7(To r)108 297.6 T .963(ecord a mixed-mode CD with an ISO 9660 \214lesystem from).7 F F2(cdimage.raw)3.462 E F0 .962(on the \214rst track, the other)3.462 F(tracks being audio tracks from the \214les)108 309.6 Q F2(track01.cdaudio)2.5E F0(,).17 E F2(track02.cdaudio)2.5 E F0 2.5(,e).17 G(tc:)411.35 309.6 Q(cdrecord \255v \255dummy dev=2,0 cdimage.raw \255audio track*.cdaudio)118326.4 Q 1.4 -.7(To h)108 343.2 T(andle drives that need to know the size of a \track before starting to write, \214rst run).7 E(mkisofs -R -q -print-size /master/tree)118 360 Q(and then run)108 376.8 Q(mkisofs -R /master/tree | cdrecord speed=2 dev=2,0 tsize=XXXs -)118 393.6 Q(where)108 410.4 Q F2(XXX)2.5 E F0(is replaced by the output of the previous run of mkisofs.)2.5 E/F3 9/Times-Bold@0 SF(ENVIRONMENT)72 439.2 Q F0(CDR_DEVICE)108 451.2 Q 1.613(This m\ay either hold a device identi\214er that is suitable to the open call of the \SCSI transport)144 463.2 R(library or a label in the \214le /etc/default/cdrecord.)144 475.2 Q(CDR_SPEED)108 492 Q(Sets the default speed value for writing \(see also)144 504 Q F1(\255speed)2.5 E F0(option\).)2.5 E(CDR_FIFOSIZE)108 520.8 Q(Sets the default size of the FIFO \(see also)144 532.8 Q F1(fs=#)2.5 E F0(option\).)2.5 E F3(FILES)72 561.6 Q F0(/etc/default/cdrecord)108 573.6 Q 3.144(Default values can be set for the following options in /etc/default/cdrecord.)144 585.6 R 3.144(For example:)8.144 F/F4 9/Times-Roman@0 SF(CDR_FIFOSIZE=8m)144 597.6 Q F0(or)2.25 E F4(CDR_SPEED=2)2.5 E F0(CDR_DEVICE)144 614.4 Q .247(T\his may either hold a device identi\214er that is suitable to the open call of\ the SCSI trans-)180 626.4 R 1.393(port library or a label in the \214le /etc/\default/cdrecord that allows to identify a speci\214c)180 638.4 R(drive on the system.)180 650.4 Q(CDR_SPEED)144 667.2 Q(Sets the default speed value for writing \(see also)180 679.2 Q F1(\255speed)2.5 E F0(option\).)2.5 E(CDR_FIFOSIZE)144 696 Q(Sets the default size of the FIFO \(see also)180 708 Q F1(fs=#)2.5 E F0(option\).)2.5 E(J)72 768 Q -.25(..)75.89 762.5 S(or)75.89 768 Q 2.5(gS)-.18 G153.065(chilling V)97.1 768 R(ersion 1.8)-1.11 E(8)535 768 Q EP%%Page: 9 9BP/F0 10/Times-Roman@0 SF 104.275(CDRECORD\(1\) Schily\264s)72 48 R(USER COMMANDS)2.5 E(CDRECORD\(1\))473.89 48 Q(Any other label)144 84 Q .523(is an identi\214er for a speci\214c drive on the system.)180 96 R .523(Such an identi\214er may not contain the)5.523 F(characters ',', '/', '@' or ':'.)180 108 Q 1.437(Each line that follows a label contains a T)180 132 R 1.436(AB separates list of items.)-.8 F(Currently)6.436 E 3.936(,t)-.65 G(hree)522.79 132 Q .507(items are recognized: the SCSI ID of the drive, the default \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -