ISOSIZE(8)

๐Ÿ‘‘ ISOSIZE(8) ๐Ÿ‘‘ โ€” it's the isosize page from section 8 of the manual, bestie (system administration girlies rise up)


๐ŸŒธ NAME ๐ŸŒธ

isosize โ€” bestie, all it does is output the length of an iso9660 filesystem. That's it. That's the whole job. And it ate. ๐Ÿ’…


โœจ SYNOPSIS โœจ

isosize [options] iso9660_image_file

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Okay so picture this: you've got a file. Inside that file there is an iso9660 filesystem, just vibing in there. This command tells you how long that filesystem is. Periodt.

That file can be a totally normal regular file, or it can be a block device โ€” like /dev/hdd or /dev/sr0, iykyk. ๐Ÿ’–

And here's the tea: if you give it no options and nothing goes wrong, it just prints the size of the iso9660 filesystem in bytes. And ngl, that number can get HUGE โ€” we're talking >> 4 GB huge. Like, main character energy numbers. ๐Ÿ˜ญ


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -x, --sectors โ€” shows the block count and the block size in a human-readable form. And the way it does this? It calls blocks "sectors" instead. Just... terminology. Iconic of it, honestly. โœจ
  • -d, --divisor number โ€” bestie, this one only does anything when -x is NOT given. What it shows (if there are no errors) is the iso9660 file size in bytes divided by number. So if number happens to be the block size, then the value you get is the block count. Math girlies, we love to see it. ๐Ÿงš

So here's why that matters, fr fr: the size of the file (or block device) that's holding an iso9660 filesystem can be a little bit bigger than the actual size of the iso9660 filesystem itself. One reason? CD writers are allowed to tack "run out" sectors onto the end of an iso9660 image. Rude of them but okay. ๐Ÿ™ˆ

  • -h, --help โ€” shows you the help text and then dips. ๐Ÿ‘‹
  • -V, --version โ€” shows you the version and then dips. ๐Ÿ‘‘

๐Ÿ”ฅ EXIT STATUS ๐Ÿ”ฅ

  • 0 โ€” success, we slayed ๐ŸŽ€
  • 1 โ€” generic failure, like an invalid usage situation. not the vibe ๐Ÿ’€
  • 32 โ€” all failed ๐Ÿ˜ญ
  • 64 โ€” some failed ๐Ÿซถ

๐Ÿ› REPORTING BUGS ๐Ÿ›

Found a bug? Don't suffer in silence, bestie. Take it to the issue tracker:

https://github.com/util-linux/util-linux/issues


๐ŸŒˆ AVAILABILITY ๐ŸŒˆ

The isosize command is part of the util-linux package, which you can download from the Linux Kernel Archive:

https://www.kernel.org/pub/linux/utils/util-linux/


Okay that's the whole page, you're officially an isosize expert now, no cap. ๐Ÿ’–

This lil beauty is from util-linux 2.42.4, dated 2026-09-21 โ€” mwah, go forth and measure your iso9660 filesystems, queen. ๐ŸŽ€โœจ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from
  • arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms