From Fedora Project Wiki

(Additional wording to limit which spins apply, and additional reference links for further reading on units)
No edit summary
Line 12: Line 12:
<pre>$ curl -sI http://server/image.iso | grep Content-Length</pre>}}
<pre>$ curl -sI http://server/image.iso | grep Content-Length</pre>}}
|results=
|results=
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734003200 bytes''' <ref name="700MiB">700 MiB = 700 * 2^20 bytes = 734003200 bytes (for more information, see http://en.wikipedia.org/wiki/Mebibyte</ref>
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734003200 bytes''' <ref name="700MiB">700 MiB = 700 * 2^20 bytes = 734003200 bytes (for more information, see http://en.wikipedia.org/wiki/Mebibyte and http://en.wikipedia.org/wiki/CD-ROM#Capacity</ref>
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734003200 bytes''' <ref name="700MiB"/>
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734003200 bytes''' <ref name="700MiB"/>
# The size of '''Live''' images ...
# The size of '''Live''' images ...
#* on ''Fedora 14'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/14/Spins]] for ISO sizes for additional spins)
#* on ''Fedora 14'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/14/Spins]] for ISO sizes for additional spins)
#* on ''Fedora 13'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/>
#* on ''Fedora 13'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/>
# The size of '''DVD''' images is less than or equal to '''4700000000 bytes''' <ref name="4.7GB">4.7 GB = 4.7G * 1000^3 bytes = 4700000000 bytes (for more information, see http://en.wikipedia.org/wiki/Gibibyte</ref>
# The size of '''DVD''' images is less than or equal to '''4700000000 bytes''' <ref name="4.7GB">4.7 GB = 4.7 * 1000^3 bytes = 4700000000 bytes (for more information, see http://en.wikipedia.org/wiki/Gigabyte and http://en.wikipedia.org/wiki/DVD#Capacity</ref>
<!-- '''734003200 bytes''' (700 MiB = 700 * 2^20 bytes) -->
<!-- '''734003200 bytes''' (700 MiB = 700 * 2^20 bytes) -->
<!-- '''1000000000 bytes''' (1 GB = 1000^3 bytes) -->
<!-- '''1000000000 bytes''' (1 GB = 1000^3 bytes) -->

Revision as of 23:11, 25 October 2010

Description

This test validates that installation ISO images (CD, netinst and DVD) and Desktop Spin [1] ISO images (Live) are small enough to fit on the corresponding media.


How to test

  1. Inspect the size of CD and netinst install media. The du -b command can be used to display the sizes of the images in bytes:
    $ du -b Fedora-14-Alpha-x86_64-netinst.iso
    230686720	Fedora-14-Alpha-x86_64-netinst.iso
  2. Repeat the same inspection, but for the Live media.
  3. Finally, inspect the size of the DVD media.
Idea.png
Avoid downloading by inspecting HTTP headers
If you need to check ISO size without downloading the file, you can do that also remotely:
$ curl -sI http://server/image.iso | grep Content-Length

Expected Results

  1. The size of CD and netinst images is less than or equal to 734003200 bytes [2]
  2. The size of CD and netinst images is less than or equal to 734003200 bytes [2]
  3. The size of Live images ...
    • on Fedora 14, is less than or equal to 734003200 bytes [2] (see Releases/14/Spins for ISO sizes for additional spins)
    • on Fedora 13, is less than or equal to 734003200 bytes [2]
  4. The size of DVD images is less than or equal to 4700000000 bytes [3]



References

  1. Fedora Desktop Spin images are desktop (aka GNOME), KDE, XFCE and LXDE. For additional information on desktop spins, see http://fedoraproject.org/en/get-fedora-options#desktops.
  2. 2.0 2.1 2.2 2.3 700 MiB = 700 * 2^20 bytes = 734003200 bytes (for more information, see http://en.wikipedia.org/wiki/Mebibyte and http://en.wikipedia.org/wiki/CD-ROM#Capacity
  3. 4.7 GB = 4.7 * 1000^3 bytes = 4700000000 bytes (for more information, see http://en.wikipedia.org/wiki/Gigabyte and http://en.wikipedia.org/wiki/DVD#Capacity