From Fedora Project Wiki

(Check size over HTTP)
mNo edit summary
Line 9: Line 9:
<li>Finally, inspect the size of the '''DVD''' media.</li>
<li>Finally, inspect the size of the '''DVD''' media.</li>
</ol>
</ol>
{{admon/tip|Check size over HTTP|If you need to check ISO size without downloading the file, you can do that also remotely
{{admon/tip|Check size over HTTP|If you need to check ISO size without downloading the file, you can do that also remotely:
<pre>$ curl -sI http://server/image.iso | grep Content-Length</pre>}}
<pre>$ curl -sI http://server/image.iso | grep Content-Length</pre>}}
|results=
|results=

Revision as of 09:35, 13 August 2010

Description

This test validates that ISO images (CD, netinst, Live, and DVD) 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.
Check size over HTTP
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 734,003,200 (700 MiB).
  2. The size of Live images is less than or equal to 1,000,000,000 (1 GB) [1].
  3. The size of DVD images is less than or equal to 4,700,000,000 (4.7 GB).
  1. As of Fedora 13, live media is intended for USB media keys and not for CD images. For more details on this change, see Features/DesktopLiveImageTarget.