]>
Commit | Line | Data |
---|---|---|
232dc924 | 1 | .TH ISOSIZE 8 "June 2011" "util-linux" "System Administration" |
66ee8158 | 2 | .SH NAME |
232dc924 | 3 | isosize \- output the length of an iso9660 filesystem |
66ee8158 KZ |
4 | .SH SYNOPSIS |
5 | .B isosize | |
f49ccec2 | 6 | .RI [options] " iso9660_image_file" |
66ee8158 | 7 | .SH DESCRIPTION |
66ee8158 | 8 | .PP |
631e8be7 BS |
9 | This command outputs the length of an iso9660 filesystem that |
10 | is contained in the specified file. This file may be a normal file or | |
98cd16d3 | 11 | a block device (e.g.\& /dev/hdd or /dev/sr0). In the absence of |
631e8be7 | 12 | any options (and errors), it will output the size of the iso9660 |
98cd16d3 | 13 | filesystem in bytes. This can now be a large number (>> 4\ GB). |
0e9d0af3 | 14 | .SH OPTIONS |
66ee8158 | 15 | .TP |
449a215f | 16 | .BR \-x , " \-\-sectors" |
3b683597 BS |
17 | Show the block count and block size in human-readable form. |
18 | The output uses the term "sectors" for "blocks". | |
66ee8158 | 19 | .TP |
449a215f | 20 | .BR \-d , " \-\-divisor " \fInumber\fR |
3b683597 | 21 | Only has an effect when |
281bb40d | 22 | .B \-x |
449a215f | 23 | is not given. The value shown (if no errors) |
281bb40d | 24 | is the iso9660 file size in bytes divided by |
449a215f | 25 | .IR number . |
281bb40d | 26 | So if |
449a215f BS |
27 | .I number |
28 | is the block size then the shown value will be the block count. | |
66ee8158 | 29 | .PP |
3b683597 BS |
30 | The size of the file (or block device) holding an iso9660 |
31 | filesystem can be marginally larger than the actual size of the | |
32 | iso9660 filesystem. One reason for this is that cd writers | |
33 | are allowed to add "run out" sectors at the end of an iso9660 | |
66ee8158 | 34 | image. |
631e8be7 BS |
35 | .SH AVAILABILITY |
36 | The isosize command is part of the util-linux package and is available from | |
d673b74e | 37 | .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |
631e8be7 BS |
38 | Linux Kernel Archive |
39 | .UE . |