{
    "mode": "man",
    "parameter": "isosize",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/isosize/8/json",
    "generated": "2026-06-02T22:31:17Z",
    "synopsis": "isosize [options] iso9660imagefile",
    "sections": {
        "NAME": {
            "content": "isosize - output the length of an iso9660 filesystem\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "isosize [options] iso9660imagefile\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This command outputs the length of an iso9660 filesystem that is contained in the specified\nfile. This file may be a normal file or a block device (e.g. /dev/hdd or /dev/sr0). In the\nabsence of any options (and errors), it will output the size of the iso9660 filesystem in\nbytes. This can now be a large number (>> 4 GB).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-x --sectors",
                    "content": "Show the block count and block size in human-readable form. The output uses the term\n\"sectors\" for \"blocks\".\n",
                    "flag": "-x",
                    "long": "--sectors"
                },
                {
                    "name": "-d --divisor",
                    "content": "Only has an effect when -x is not given. The value shown (if no errors) is the iso9660\nfile size in bytes divided by number. So if number is the block size then the shown value\nwill be the block count.\n\nThe size of the file (or block device) holding an iso9660 filesystem can be marginally\nlarger than the actual size of the iso9660 filesystem. One reason for this is that cd\nwriters are allowed to add \"run out\" sectors at the end of an iso9660 image.\n",
                    "flag": "-d",
                    "long": "--divisor"
                }
            ]
        },
        "EXIT STATUS": {
            "content": "0\nsuccess\n\n1\ngeneric failure, such as invalid usage\n\n32\nall failed\n\n64\nsome failed\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The isosize command is part of the util-linux package which can be downloaded from Linux\nKernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2021-06-02                                   ISOSIZE(8)",
            "subsections": []
        }
    },
    "summary": "isosize - output the length of an iso9660 filesystem",
    "flags": [
        {
            "flag": "-x",
            "long": "--sectors",
            "arg": null,
            "description": "Show the block count and block size in human-readable form. The output uses the term \"sectors\" for \"blocks\"."
        },
        {
            "flag": "-d",
            "long": "--divisor",
            "arg": null,
            "description": "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."
        }
    ],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "Display the size of an ISO file.",
        "examples": [
            {
                "description": "Display the size of an ISO file",
                "command": "isosize {{path/to/file.iso}}"
            },
            {
                "description": "Display the block count and block size of an ISO file",
                "command": "isosize {{-x|--sectors}} {{path/to/file.iso}}"
            },
            {
                "description": "Display the size of an ISO file divided by a given number (only usable when --sectors is not given)",
                "command": "isosize {{-d|--divisor}} {{number}} {{path/to/file.iso}}"
            }
        ]
    }
}