util-linux/disk-utils/isosize.8.adoc

49 lines
1.5 KiB
Plaintext
Raw Normal View History

//po4a: entry man manual
2021-03-16 15:08:43 -05:00
= isosize(8)
:doctype: manpage
:man manual: System Administration
:man source: util-linux {release-version}
:page-layout: base
:command: isosize
== NAME
isosize - output the length of an iso9660 filesystem
== SYNOPSIS
*isosize* [options] _iso9660_image_file_
2021-03-16 15:08:43 -05:00
== DESCRIPTION
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).
2021-03-16 15:08:43 -05:00
== OPTIONS
*-x*, *--sectors*::
2021-03-24 12:53:27 -05:00
Show the block count and block size in human-readable form. The output uses the term "sectors" for "blocks".
2021-03-16 15:08:43 -05:00
*-d*, *--divisor* _number_::
2021-03-24 12:53:27 -05:00
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.
+
2021-03-16 15:08:43 -05:00
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.
== EXIT STATUS
*0*::
2021-03-24 12:53:27 -05:00
success
2021-03-16 15:08:43 -05:00
*1*::
2021-03-24 12:53:27 -05:00
generic failure, such as invalid usage
2021-03-16 15:08:43 -05:00
*32*::
2021-03-24 12:53:27 -05:00
all failed
2021-03-16 15:08:43 -05:00
*64*::
2021-03-24 12:53:27 -05:00
some failed
2021-03-16 15:08:43 -05:00
include::man-common/bugreports.adoc[]
2021-03-16 15:08:43 -05:00
include::man-common/footer.adoc[]
2021-03-16 15:08:43 -05:00
ifdef::translation[]
include::man-common/translation.adoc[]
2021-03-16 15:08:43 -05:00
endif::[]