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
|
2011-08-03 08:51:02 -05:00
|
|
|
isosize \- outputs the length of an iso9660 filesystem
|
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
|
2011-08-03 08:51:02 -05:00
|
|
|
is contained in the 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 (and errors) it will output the size of the iso9660
|
|
|
|
filesystem 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
|
2011-08-03 08:51:02 -05:00
|
|
|
Show the block count and block size in human-readable form.
|
|
|
|
The output uses the term "sectors" for "blocks".
|
2006-12-06 17:25:44 -06:00
|
|
|
.TP
|
2011-06-30 14:59:15 -05:00
|
|
|
\fB\-d\fR, \fB\-\-divisor\fR=\fINUM\fR
|
2011-08-03 08:51:02 -05:00
|
|
|
Only has an effect when
|
2009-07-22 04:29:04 -05:00
|
|
|
.B \-x
|
2011-08-03 08:51:02 -05:00
|
|
|
is not given. The number shown (if no errors)
|
2009-07-22 04:29:04 -05:00
|
|
|
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
|
2011-08-03 08:51:02 -05:00
|
|
|
is the block size then the shown number will be the block count.
|
2006-12-06 17:25:44 -06:00
|
|
|
.PP
|
2011-08-03 08:51:02 -05:00
|
|
|
The size of the file (or block device) holding an iso9660
|
|
|
|
filesystem can be marginally larger than the actual size of the
|
|
|
|
iso9660 filesystem. One reason for this is that cd writers
|
|
|
|
are allowed to add "run out" sectors at the end of an iso9660
|
2006-12-06 17:25:44 -06:00
|
|
|
image.
|