1CDRWTOOL(1) General Commands Manual 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, formatting it for
34 use 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 -q `Quick setup': blank the disc, format it as one large track and
68 write a UDF filesystem.
69
70
71 -m offset
72 Format the disc at offset number of blocks.
73
74
75 -b mode
76 Blank the disk using a mode of `full' or `fast'.
77
78
79 -f filename
80 Write file.
81
82
83 -c track
84 Close track.
85
86 -r track
87 Reserve track.
88
89
90 -z length
91 Fixed packet length.
92
93
94
95 -s Set write parameters determined by -l, -w, and -p options for
96 the disc.
97
98
99 -v version
100 Specify the udf revision to use. Valid revisions are 0x0201,
101 0x0200 and 0x0150. If omitted, mkudffs udf-version is 0x0150.
102
103
104 -h Prints a sparse help message.
105
106 Write parameters:
107
108 -t speed
109 Set write speed. (Defaults to 12x ?)
110
111 -l type
112 Set multi-session field. Either `0' (default), `1', or `3', cor‐
113 responding to `No B0 pointer. Next Session not allowed', `B0
114 pointer = FF:FF:FF. Next session not allowed', and `Next session
115 allowed. B0 pointer = next possible program area' respectively.
116
117 -w mode
118 Set write mode. Either `mode1' or `mode2' (default).
119
120 -p type
121 Set packet type. Either `0' or `1' (default), corresponding to
122 variable and fixed packet sizes respectively.
123
124 -o offset
125 Set write offset.
126
127
129 Jens Axboe <axboe@suse.de>
130 Ben Fennema
131 Some additions by Richard Atterer <atterer@debian.org>
132
133
135 cdrwtool is part of the udftools package and is available from
136 https://github.com/pali/udftools/.
137
138
140 pktsetup(8)
141
142
143
144Commands udftools CDRWTOOL(1)