113 lines
2.5 KiB
HTML
113 lines
2.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of ISOSIZE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>ISOSIZE</H1>
|
|
Section: System Administration (8)<BR>Updated: June 2011<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
isosize - output the length of an iso9660 filesystem
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>isosize</B>
|
|
|
|
[options]<I> iso9660_image_file</I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
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).
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-x</B>,<B> --sectors</B>
|
|
|
|
<DD>
|
|
Show the block count and block size in human-readable form.
|
|
The output uses the term "sectors" for "blocks".
|
|
<DT id="2"><B>-d</B>,<B> --divisor </B><I>number</I>
|
|
|
|
<DD>
|
|
Only has an effect when
|
|
<B>-x</B>
|
|
|
|
is not given. The value shown (if no errors)
|
|
is the iso9660 file size in bytes divided by
|
|
<I>number</I>.
|
|
|
|
So if
|
|
<I>number</I>
|
|
|
|
is the block size then the shown value will be the block count.
|
|
</DL>
|
|
<P>
|
|
|
|
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.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXIT STATUS</H2>
|
|
|
|
<DL COMPACT><DT id="3"><DD>
|
|
|
|
<DL COMPACT>
|
|
<DT id="4"><B>0</B>
|
|
|
|
<DD>
|
|
success
|
|
<DT id="5"><B>1</B>
|
|
|
|
<DD>
|
|
generic failure, such as invalid usage
|
|
<DT id="6"><B>32</B>
|
|
|
|
<DD>
|
|
all failed
|
|
<DT id="7"><B>64</B>
|
|
|
|
<DD>
|
|
some failed
|
|
|
|
</DL>
|
|
</DL>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AVAILABILITY</H2>
|
|
|
|
The isosize command is part of the util-linux package and is available from
|
|
|
|
Linux Kernel Archive
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="12"><A HREF="#lbAF">EXIT STATUS</A><DD>
|
|
<DT id="13"><A HREF="#lbAG">AVAILABILITY</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:13 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|