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 -s Set write parameters determined by -l, -w, and -p options for
87 the disc.
88
89
90 -v version
91 Specify the udf revision to use. Valid revisions are 0x0201,
92 0x0200, 0x0150, and 0x0102. If omitted, mkudffs udf-version is
93 0x0150.
94
95
96 -h Prints a sparse help message.
97
98 Write parameters:
99
100 -t speed
101 Set write speed. (Defaults to 12x ?)
102
103 -l type
104 Set multi-session field. Either `0', `1', or `3', corresponding
105 to `No B0 pointer. Next Session not allowed', `B0 pointer =
106 FF:FF:FF. Next session not allowed', and `Next session allowed.
107 B0 pointer = next possible program area' respectively.
108
109 -w mode
110 Set write mode. Either `mode1' or `mode2'.
111
112 -p type
113 Set packet type. Either `0' or `1', corresponding to variable
114 and fixed packet sizes respectively.
115
116 -o offset
117 Set write offset.
118
119
121 Jens Axboe <axboe@suse.de>
122 Ben Fennema <bfennema@falcon.csc.calpoly.edu>
123
124
126 cdrwtool is part of the udftools package and is available from
127 http://linux-udf.sourceforge.net.
128
129
131 pktsetup(8)
132
133
134
135udftools-1.0.0b2 2002-02-09 CDRWTOOL(1)