]> git.ipfire.org Git - thirdparty/util-linux.git/blame - disk-utils/isosize.8
Merge branch 'usage-part1' of https://github.com/rudimeier/util-linux
[thirdparty/util-linux.git] / disk-utils / isosize.8
CommitLineData
232dc924 1.TH ISOSIZE 8 "June 2011" "util-linux" "System Administration"
66ee8158 2.SH NAME
232dc924 3isosize \- 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
9This command outputs the length of an iso9660 filesystem that
10is contained in the specified file. This file may be a normal file or
98cd16d3 11a block device (e.g.\& /dev/hdd or /dev/sr0). In the absence of
631e8be7 12any options (and errors), it will output the size of the iso9660
98cd16d3 13filesystem 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
17Show the block count and block size in human-readable form.
18The output uses the term "sectors" for "blocks".
66ee8158 19.TP
449a215f 20.BR \-d , " \-\-divisor " \fInumber\fR
3b683597 21Only has an effect when
281bb40d 22.B \-x
449a215f 23is not given. The value shown (if no errors)
281bb40d 24is the iso9660 file size in bytes divided by
449a215f 25.IR number .
281bb40d 26So if
449a215f
BS
27.I number
28is the block size then the shown value will be the block count.
66ee8158 29.PP
3b683597
BS
30The size of the file (or block device) holding an iso9660
31filesystem can be marginally larger than the actual size of the
32iso9660 filesystem. One reason for this is that cd writers
33are allowed to add "run out" sectors at the end of an iso9660
66ee8158 34image.
631e8be7
BS
35.SH AVAILABILITY
36The 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
38Linux Kernel Archive
39.UE .