1ISOSIZE(8) System Administration ISOSIZE(8)
2
3
4
6 isosize - output the length of an iso9660 filesystem
7
9 isosize [options] iso9660_image_file
10
12 This command outputs the length of an iso9660 filesystem that is con‐
13 tained in the specified file. This file may be a normal file or a
14 block device (e.g. /dev/hdd or /dev/sr0). In the absence of any
15 options (and errors), it will output the size of the iso9660 filesystem
16 in bytes. This can now be a large number (>> 4 GB).
17
19 -x, --sectors
20 Show the block count and block size in human-readable form. The
21 output uses the term "sectors" for "blocks".
22
23 -d, --divisor number
24 Only has an effect when -x is not given. The value shown (if no
25 errors) is the iso9660 file size in bytes divided by number. So
26 if number is the block size then the shown value will be the
27 block count.
28
29 The size of the file (or block device) holding an iso9660 filesystem
30 can be marginally larger than the actual size of the iso9660 filesys‐
31 tem. One reason for this is that cd writers are allowed to add "run
32 out" sectors at the end of an iso9660 image.
33
35 0 success
36 1 generic failure, such as invalid usage
37 32 all failed
38 64 some failed
39
41 The isosize command is part of the util-linux package and is available
42 from Linux Kernel Archive ⟨https://www.kernel.org/pub/linux/utils/util-
43 linux/⟩.
44
45
46
47util-linux June 2011 ISOSIZE(8)