isosize
ISOSIZE(8) System Administration ISOSIZE(8)
NAME
isosize - output the length of an iso9660 filesystem
SYNOPSIS
isosize [options] iso9660_image_file
DESCRIPTION
This command outputs the length of an iso9660 filesystem that is con-
tained 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 op-
tions (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 filesys-
tem. One reason for this is that cd writers are allowed to add "run
out" sectors at the end of an iso9660 image.
EXIT STATUS
0 success
1 generic failure, such as invalid usage
32 all failed
64 some failed
AVAILABILITY
The isosize command is part of the util-linux package and is available
from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-
linux/>.
util-linux June 2011 ISOSIZE(8)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2024
Hurricane Electric.
All Rights Reserved.