From Fedora Project Wiki

(removed duplicate line)
(add mention of ls -l)
Line 3: Line 3:
|actions=
|actions=
<ol>
<ol>
<li>Inspect the size of '''CD''' and '''netinst''' install media.  The {{command|du -b}} command can be used to display the sizes of the images in bytes:
<li>Inspect the size of '''CD''' and '''netinst''' install media.  Either the {{command|du -b}} or the {{command|ls -l}} command can be used to display the sizes of the images in bytes:
<pre>$ du -b Fedora-14-Alpha-x86_64-netinst.iso
<pre>$ du -b Fedora-14-Alpha-x86_64-netinst.iso
230686720 Fedora-14-Alpha-x86_64-netinst.iso</pre></li>
230686720 Fedora-14-Alpha-x86_64-netinst.iso</pre></li>

Revision as of 19:46, 21 November 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. Either the du -b or the ls -l 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 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]
  3. 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 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