Upload Tizen:Base source
[framework/base/util-linux-ng.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 an iso9660 file system
4 .SH SYNOPSIS
5 .B isosize
6 .RB [ \-x ]
7 .RB [ \-d
8 .IR <num> ]
9 .IR <iso9660_image_file> ...
10 .SH DESCRIPTION
11 .\" Add any additional description here
12 .PP
13 This command outputs the length of an iso9660 file system that
14 is contained in given file. That file may be a normal file or
15 a block device (e.g. /dev/hdd or /dev/sr0). In the absence of
16 any switches (or errors) it will output the size of the iso9660
17 file system in bytes. This can now be a large number (>> 4 GB).
18 .TP
19 .B \-x
20 output in humanly readable form the block count and the block
21 size. Output uses the term "sectors" for "blocks".
22 .TP
23 .BI \-d\  <num>
24 only has affect when
25 .B \-x
26 is not given. The number output (if no errors)
27 is the iso9660 file size in bytes divided by
28 .IR <num> .
29 So if
30 .I <num>
31 is the block size then the output number will be the block count.
32 .PP
33 The size of the file (or block device) holding a iso9660 file
34 system can be marginally larger than the actual size of the
35 iso9660 file system. One reason for this is that cd writers
36 are allowed to add "run out" sectors at the end of a iso9660
37 image.