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, 0x0150, and 0x0102. If omitted, mkudffs udf-version is
102 0x0150.
103
104
105 -h Prints a sparse help message.
106
107 Write parameters:
108
109 -t speed
110 Set write speed. (Defaults to 12x ?)
111
112 -l type
113 Set multi-session field. Either `0' (default), `1', or `3', cor‐
114 responding to `No B0 pointer. Next Session not allowed', `B0
115 pointer = FF:FF:FF. Next session not allowed', and `Next session
116 allowed. B0 pointer = next possible program area' respectively.
117
118 -w mode
119 Set write mode. Either `mode1' or `mode2' (default).
120
121 -p type
122 Set packet type. Either `0' or `1' (default), corresponding to
123 variable and fixed packet sizes respectively.
124
125 -o offset
126 Set write offset.
127
128
130 Jens Axboe <axboe@suse.de>
131 Ben Fennema <bfennema@falcon.csc.calpoly.edu>
132 Some additions by Richard Atterer <atterer@debian.org>
133
134
136 cdrwtool is part of the udftools package and is available from
137 https://github.com/pali/udftools/.
138
139
141 pktsetup(8)
142
143
144
145Commands udftools CDRWTOOL(1)