1CDRWTOOL(1) Commands CDRWTOOL(1)
2
3
4
6 cdrwtool - perform various actions on a CD-R, CD-RW, and DVD-R
7
8
10 cdrwtool -d device -i | -g
11
12 cdrwtool -d device -s [ write-parameters ]
13
14 cdrwtool -d device -q [ write-parameters ]
15
16 cdrwtool -d device -m offset [ write-parameters ]
17
18 cdwrtool -d device -u blocks [ write-parameters ]
19
20 cdrwtool -d device -b b_mode [ write-parameters ]
21
22 cdrwtool -d device -c blocks [ write-parameters ]
23
24 cdwrtool -d device -f filename [ write-parameters ]
25
26 cdwrtool -d device -r track [ write-parameters ]
27
28 cdrwtool -h
29
30
32 The cdwrtool command can perform certain actions on a CD-R, CD-RW, or
33 DVD-R device. Mainly these are blanking the media, formating it for use
34 with the packet-cd device, and applying an UDF filesystem.
35
36 The most common usage is probably the `quick setup' option:
37
38 cdrwtool -d device -q
39
40 which will blank the disc, format it as one large track, and write the
41 UDF filesystem structures.
42
43 Other options get and set various parameters of how the device is set
44 up, and provide for different offsets, modes and settings from the
45 defaults.
46
47 The usefulness of most of the options is not explained.
48
49
51 Main directives:
52
53 -d device
54 Specify the device to use. eg. /dev/sr0
55
56
57 -i Print disc track info.
58
59
60 -g Print write parameters.
61
62
63 -u length
64 Make a UDF filesystem using length number of blocks.
65
66
67 -m offset
68 Format the disc at offset number of blocks.
69
70
71 -b mode
72 Blank the disk using a mode of `full' or `fast'.
73
74
75 -f filename
76 Write file.
77
78
79 -c track
80 Close track.
81
82 -r track
83 Reserve track.
84
85
86 -z length
87 Fixed packet length.
88
89
90
91 -s Set write parameters determined by -l, -w, and -p options for
92 the disc.
93
94
95 -v version
96 Specify the udf revision to use. Valid revisions are 0x0201,
97 0x0200, 0x0150, and 0x0102. If omitted, mkudffs udf-version is
98 0x0150.
99
100
101 -h Prints a sparse help message.
102
103 Write parameters:
104
105 -t speed
106 Set write speed. (Defaults to 12x ?)
107
108 -l type
109 Set multi-session field. Either `0', `1', or `3', corresponding
110 to `No B0 pointer. Next Session not allowed', `B0 pointer =
111 FF:FF:FF. Next session not allowed', and `Next session allowed.
112 B0 pointer = next possible program area' respectively.
113
114 -w mode
115 Set write mode. Either `mode1' or `mode2'.
116
117 -p type
118 Set packet type. Either `0' or `1', corresponding to variable
119 and fixed packet sizes respectively.
120
121 -o offset
122 Set write offset.
123
124
126 Jens Axboe <axboe@suse.de>
127 Ben Fennema <bfennema@falcon.csc.calpoly.edu>
128
129
131 cdrwtool is part of the udftools package and is available from
132 http://linux-udf.sourceforge.net.
133
134
136 pktsetup(8)
137
138
139
140udftools-1.0.0b2 2002-02-09 CDRWTOOL(1)