LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

isosize

displays the size of ISO 9660 filesystem images by reading the volume descriptor

TLDR

Display the size of an ISO file
$ isosize [path/to/file.iso]
copy
Display block count and block size
$ isosize -x [path/to/file.iso]
copy
Display size divided by a specific number
$ isosize -d [number] [path/to/file.iso]
copy

SYNOPSIS

isosize [options] file

DESCRIPTION

isosize displays the size of ISO 9660 filesystem images by reading the volume descriptor. Unlike tools that report file size, isosize reports the actual filesystem size stored in the ISO header.This can be useful when the ISO image file has been padded or when determining the exact size needed to write the image to media.

PARAMETERS

-x, --sectors

Show block count and block size instead of total bytes
-d, --divisor NUM
Divide size by specified number (incompatible with -x)

INSTALL

sudo apt install util-linux
copy
sudo dnf install util-linux
copy
sudo pacman -S util-linux
copy
sudo apk add util-linux-misc
copy
sudo zypper install util-linux
copy
brew install util-linux
copy
nix profile install nixpkgs#util-linux
copy

CAVEATS

Only works with valid ISO 9660 images. Reports the size recorded in the volume descriptor, which may differ from file size if the image was truncated or padded.

HISTORY

isosize is part of the util-linux package, providing a simple utility for querying ISO image sizes. It reads the ISO 9660 Primary Volume Descriptor to determine size.

SEE ALSO

isoinfo(1), genisoimage(1), du(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid