carta
isosize(8)

isosize8

Output the length of an iso9660 filesystem

Usage

isosize [options] iso9660_image_file

Overview

This command outputs the length of an iso9660 filesystem that is contained in the specified file. This file may be a normal file or a block device (e.g. /dev/hdd or /dev/sr0). In the absence of any options (and errors), it will output the size of the iso9660 filesystem in bytes. This can now be a large number (>> 4 GB).

Options

-x, --sectors

Show the block count and block size in human-readable form. The output uses the term "sectors" for "blocks".

-d, --divisor number

Only has an effect when -x is not given. The value shown (if no errors) is the iso9660 file size in bytes divided by number. So if number is the block size then the shown value will be the block count.

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 image.

-h, --help

Display help text and exit.

-V, --version

Display version and exit.

Exit status

0

success

1

generic failure, such as invalid usage

32

all failed

64

some failed

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny) to Debian 4.0 (Etch)
  • Debian 3.0 (Woody)

--divisor since Debian 7 (Wheezy); --help since Debian 12 (Bookworm); --sectors since Debian 7 (Wheezy); --version since Debian 12 (Bookworm); -V since Debian 12 (Bookworm); -h since Debian 12 (Bookworm).

Reporting bugs

For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.

Availability

The isosize command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.

From util-linux 2.42.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.