]> git.ipfire.org Git - thirdparty/util-linux.git/blob - disk-utils/isosize.8
Imported from util-linux-2.10s tarball.
[thirdparty/util-linux.git] / disk-utils / isosize.8
1 .TH ISOSIZE "8" "December 2000" "sg3_utils-0.91" SG_UTILS
2 .SH NAME
3 isosize \- outputs the length of a iso9660 file system
4 .SH SYNOPSIS
5 .B isosize
6 [\fI-x\fR] [\fI-d <num>\fR] \fI<iso9660_image_file>\fR...
7 .SH DESCRIPTION
8 .\" Add any additional description here
9 .PP
10 This command outputs the length of an iso9660 file system that
11 is contained in given file. That file may be a normal file or
12 a block device (e.g. /dev/hdd or /dev/sr0). In the absence of
13 any switches (or errors) it will output the size of the iso9660
14 file system in bytes. This can now be a large number (> > 4 GB).
15 .TP
16 -x
17 output in humanly readable form the block count and the block
18 size. Output uses the term "sectors" for "blocks".
19 .TP
20 -d <num>
21 only has affect when "-x" is not given. The number output (if no errors)
22 is the iso9660 file size in bytes divided by <num>. So if <num> is
23 the block size then the output number will be the block count.
24 .PP
25 The size of the file (or block device) holding a iso9660 file
26 system can be marginally larger than the actual size of the
27 iso9660 file system. One reason for this is that cd writers
28 are allowed to add "run out" sectors at the end of a iso9660
29 image.