summaryrefslogtreecommitdiff
path: root/genisoimage/diag/isoinfo.1
blob: 1a00540a6546b18effece8d6f89651c0f44a94c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
.\"
.\" @(#)isoinfo.8	1.7 04/06/01 joerg
.\" 
.\" Modified for cdrkit in 12/2006
.\"
.\" -*- nroff -*-
.if t .ds a \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'a
.if t .ds o \v'-0.55m'\h'0.00n'\z.\h'0.45n'\z.\v'0.55m'\h'-0.45n'o
.if t .ds u \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'u
.if t .ds A \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'A
.if t .ds O \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'O
.if t .ds U \v'-0.77m'\h'0.30n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.75n'U
.if t .ds s \\(*b
.if t .ds S SS
.if n .ds a ae
.if n .ds o oe
.if n .ds u ue
.if n .ds s sz
.TH ISOINFO 1 "04/06/01" "Version 2.0"
.SH NAME
devdump, isoinfo, isovfy, isodump \- Utility programs for dumping and verifying iso9660
images.
.SH SYNOPSIS
.B devdump 
.I isoimage
.PP
.B isodump 
.I isoimage
.PP
.B isoinfo
[
.B \-d
]
[
.B \-h
]
[
.B \-R
]
[
.B \-J
]
[
.B \-j
.I charset
]
[
.B \-f
]
[
.B \-l
]
[
.B \-p
]
[
.B \-T
.I sector
]
[
.B \-N
.I sector
]
[
.B \-i
.I isoimage
]
[
.B \-x
.I path
]
.PP
.B isovfy 
.I isoimage
.SH DESCRIPTION
.B devdump
is a crude utility to interactively display the contents of device or
filesystem images.
The initial screen is a display of the first 256 bytes of the first 2048 byte
sector.
The commands are the same as with 
.BR isodump .
.PP
.B isodump
is a crude utility to interactively display the contents of iso9660 images
in order to verify directory integrity.
The initial screen is a display of the first part of the root directory,
and the prompt shows you the extent number and offset in the extent.
.RS
.PP
You can use the 'a' and 'b'
commands to move backwards and forwards within the image. The 'g' command
allows you to goto an arbitrary extent, and the 'f' command specifies
a search string to be used. The '+' command searches forward for the next
instance of the search string, and the 'q' command exits
.B devdump
or
.BR isodump .
.RE
.PP
.B isoinfo
is a utility to perform directory like listings of iso9660 images.
.PP
.B isovfy
is a utility to verify the integrity of an iso9660 image. Most of the tests
in
.B isovfy
were added after bugs were discovered in early versions of
.B genisoimage.
It isn't all that clear how useful this is anymore, but it doesn't hurt to
have this around.

.SH OPTIONS
The options common to all programs are
.BR \-help , \-h , \-version ,
.BI i =name, dev =name.
The
.B isoinfo
program has additional command line options. The options are:
.TP
.B \-help
.TP
.B \-h
print a summary of all options.
.TP
.B \-d
Print information from the primary volume descriptor (PVD) of the iso9660
image. This includes information about Rock Ridge, Joliet extensions
and Eltorito boot information
if present.
.TP
.B \-f
generate output as if a 'find . -print' command had been run on the iso9660
image. You should not use the
.B -l
image with the
.B -f
option.
.TP
.B \-i iso_image
Specifies the path of the iso9660 image that we wish to examine.
The options
.B \-i
and 
.BI dev= target
are mutual exclusive.
.TP
.BI dev= target
Sets the SCSI target for the drive, see notes above.
A typical device specification is
.BI dev= 6,0
\&.
If a filename must be provided together with the numerical target 
specification, the filename is implementation specific.
The correct filename in this case can be found in the system specific
manuals of the target operating system.
On a 
.I FreeBSD
system without 
.I CAM
support, you need to use the control device (e.g.
.IR /dev/rcd0.ctl ).
A correct device specification in this case may be
.BI dev= /dev/rcd0.ctl:@
\&.
.sp
On Linux, drives connected to a parallel port adapter are mapped
to a virtual SCSI bus. Different adapters are mapped to different
targets on this virtual SCSI bus.
.sp
If no 
.I dev
option is present, the program
will try to get the device from the 
.B CDR_DEVICE
environment.
.sp
If the argument to the
.B dev=
option does not contain the characters ',', '/', '@' or ':',
it is interpreted as an label name that may be found in the file
/etc/wodim.conf (see FILES section).
.sp
The options
.B \-i
and 
.BI dev= target
are mutual exclusive.
.TP
.B \-l
generate output as if a 'ls -lR' command had been run on the iso9660 image.
You should not use the
.B -f
image with the
.B -l
option.
.TP
.B \-N sector
Quick hack to help examine single session disc files that are to be written to
a multi-session disc. The sector number specified is the sector number at
which the iso9660 image should be written when send to the cd-writer. Not
used for the first session on the disc.
.TP
.B \-p
Print path table information.
.TP
.B \-R
Extract information from Rock Ridge extensions (if present) for permissions,
file names and ownerships.
.TP
.B \-J
Extract information from Joliet extensions (if present) for file names.
.TP
.B \-j charset
Convert Joliet file names (if present) to the supplied charset. See
.BR genisoimage (8)
for details.
.TP
.B \-T sector
Quick hack to help examine multi-session images that have already been burned
to a multi-session disc. The sector number specified is the sector number for
the start of the session we wish to display.
.TP
.B \-x pathname
Extract specified file to stdout.
.SH AUTHOR
The author of the original sources (1993 .\|.\|. 1998) is
Eric Youngdale <ericy@gnu.ai.mit.edu> or <eric@andante.jic.com> is to blame
for these shoddy hacks.
J\*org Schilling wrote the SCSI transport library and its adaptation layer to
the programs and newer parts (starting from 1999) of the utilities, this makes
them
Copyright (C) 1999-2004 J\*org Schilling.
Patches to improve general usability would be gladly accepted.
.PP
This manpage describes the program implementation of
.B
isoinfo
as shipped by the cdrkit distribution. See
.B
http://alioth.debian.org/projects/debburn/
for details. It is a spinoff from the original program distributed in the
cdrtools package [1]. However, the cdrtools
developers are not involved in the development of this spinoff and therefore
shall not be made responsible for any problem caused by it. Do not try to get
support for this program by contacting the original author(s).
.PP
If you have support questions, send them to
.PP
.B
debburn-devel@lists.alioth.debian.org
.br
.PP
If you have definitely found a bug, send a mail to this list or to
.PP
.B
submit@bugs.debian.org
.br
.PP
writing at least a short description into the Subject and "Package: cdrkit" into the first line of the mail body.
.SH BUGS
The user interface really sucks.
.SH FUTURE IMPROVEMENTS
These utilities are really quick hacks, which are very useful for debugging
problems in genisoimage or in an iso9660 filesystem. In the long run, it would
be nice to have a daemon that would NFS export a iso9660 image.
.PP
The isoinfo program is probably the program that is of the most use to
the general user.
.SH AVAILABILITY
These utilities come with the 
.B cdrkit
package, and the primary download site
is http://debburn.alioth.debian.org/ and FTP mirrors of distributions.
Despite the name, the software is not beta.

.SH ENVIRONMENT
.TP
.B CDR_DEVICE
This may either hold a device identifier that is suitable to the open
call of the SCSI transport library or a label in the file /etc/wodim.conf.
.TP
.B RSH
If the 
.B RSH
environment is present, the remote connection will not be created via
.BR rcmd (3)
but by calling the program pointed to by
.BR RSH .
Use e.g. 
.BR RSH= /usr/bin/ssh
to create a secure shell connection.
.sp
Note that this forces the program
to create a pipe to the 
.B rsh(1)
program and disallows the program
to directly access the network socket to the remote server.
This makes it impossible to set up performance parameters and slows down
the connection compared to a 
.B root
initiated
.B rcmd(3)
connection.
.TP
.B RSCSI
If the 
.B RSCSI
environment is present, the remote SCSI server will not be the program
.B /opt/schily/sbin/rscsi
but the program pointed to by
.BR RSCSI .
Note that the remote SCSI server program name will be ignored if you log in
using an account that has been created with a remote SCSI server program as
login shell.

.SH FILES
.TP
/etc/wodim.conf
Default values can be set for the following options in /etc/wodim.conf.
.RS
.TP
CDR_DEVICE
This may either hold a device identifier that is suitable to the open
call of the SCSI transport library or a label in the file /etc/wodim.conf
that allows to identify a specific drive on the system.
.TP
Any other label
is an identifier for a specific drive on the system.
Such an identifier may not contain the characters ',', '/', '@' or ':'.
.sp
Each line that follows a label contains a TAB separated list of items.
Currently, four items are recognized: the SCSI ID of the drive, the
default speed that should be used for this drive, the default FIFO size
that should be used for this drive and drive specific options. The values for 
.I speed
and
.I fifosize
may be set to -1 to tell the program to use the global defaults.
The value for driveropts may be set to "" if no driveropts are used.
A typical line may look this way:
.sp
teac1= 0,5,0	4	8m	""
.sp
yamaha= 1,6,0	-1	-1	burnfree
.sp
This tells the program
that a drive named
.I teac1
is at scsibus 0, target 5, lun 0 and should be used with speed 4 and
a FIFO size of 8 MB.
A second drive may be found at scsibus 1, target 6, lun 0 and uses the
default speed and the default FIFO size.
.RE
.SH SEE ALSO
.BR genisoimage (1),
.BR wodim (1),
.BR readcd (1),
.BR ssh (1).
.RE
.SH SOURCES
.PP
.br
[1] Cdrtools 2.01.01a08 from May 2006, http://cdrecord.berlios.de