2011-06-30 14:59:15 -05:00
|
|
|
.TH ISOSIZE "8" "June 2011" "util-linux" "System Administration Utilities"
|
2006-12-06 17:25:44 -06:00
|
|
|
.SH NAME
|
2009-07-22 04:29:04 -05:00
|
|
|
isosize \- outputs the length of an iso9660 file system
|
2006-12-06 17:25:44 -06:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B isosize
|
2011-06-30 14:59:15 -05:00
|
|
|
[\fIoptions\fR] \fIiso9660_image_file\fR
|
2006-12-06 17:25:44 -06:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.\" Add any additional description here
|
|
|
|
.PP
|
|
|
|
This command outputs the length of an iso9660 file system that
|
|
|
|
is contained in given file. That file may be a normal file or
|
|
|
|
a block device (e.g. /dev/hdd or /dev/sr0). In the absence of
|
|
|
|
any switches (or errors) it will output the size of the iso9660
|
2009-07-22 04:29:04 -05:00
|
|
|
file system in bytes. This can now be a large number (>> 4 GB).
|
2011-06-30 14:59:15 -05:00
|
|
|
.SH OPTIONS
|
2006-12-06 17:25:44 -06:00
|
|
|
.TP
|
2011-06-30 14:59:15 -05:00
|
|
|
\fB\-x\fR, \fB\-\-sectors\fR
|
2006-12-06 17:25:44 -06:00
|
|
|
output in humanly readable form the block count and the block
|
|
|
|
size. Output uses the term "sectors" for "blocks".
|
|
|
|
.TP
|
2011-06-30 14:59:15 -05:00
|
|
|
\fB\-d\fR, \fB\-\-divisor\fR=\fINUM\fR
|
2009-07-22 04:29:04 -05:00
|
|
|
only has affect when
|
|
|
|
.B \-x
|
|
|
|
is not given. The number output (if no errors)
|
|
|
|
is the iso9660 file size in bytes divided by
|
2011-06-30 14:59:15 -05:00
|
|
|
.IR NUM .
|
2009-07-22 04:29:04 -05:00
|
|
|
So if
|
2011-06-30 14:59:15 -05:00
|
|
|
.I NUM
|
2009-07-22 04:29:04 -05:00
|
|
|
is the block size then the output number will be the block count.
|
2006-12-06 17:25:44 -06:00
|
|
|
.PP
|
|
|
|
The size of the file (or block device) holding a iso9660 file
|
|
|
|
system can be marginally larger than the actual size of the
|
|
|
|
iso9660 file system. One reason for this is that cd writers
|
|
|
|
are allowed to add "run out" sectors at the end of a iso9660
|
|
|
|
image.
|