From Fedora Project Wiki

(s/8.54/8.5/)
(include F16)
Line 14: Line 14:
# The size of '''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 '''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 '''Live''' images ...
# The size of '''Live''' images ...
#* on ''Fedora 16'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/16/Spins]] for ISO sizes for additional spins)
#* on ''Fedora 15'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/15/Spins]] for ISO sizes for additional spins)
#* on ''Fedora 15'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/15/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 14'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/14/Spins]] for ISO sizes for additional spins)

Revision as of 13:53, 29 October 2011

Description

This test can be used to validate that ISO images (e.g. netinst.iso, DVD.iso and Desktop Live Spins [1]) are small enough to fit on the corresponding media. Depending on the image being tested, there are different constraints for the maximum permitted size (refer to #Expected_Results).


How to test

  1. Inspect the size of 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.
  4. 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 netinst images is less than or equal to 734003200 bytes [2]
  2. The size of Live images ...
    • on Fedora 16, is less than or equal to 734003200 bytes [2] (see Releases/16/Spins for ISO sizes for additional spins)
    • on Fedora 15, is less than or equal to 734003200 bytes [2] (see Releases/15/Spins for ISO sizes for additional spins)
    • 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 installation images is less than or equal to 4700000000 bytes [3]
  4. The size of Multi-Desktop DVD images is less than, or equal to, 8500000000 bytes [4] and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media.
  5. The size of Multi-Install DVD installation images is less than, or equal to, 8500000000 bytes [4] and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media.



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 2.4 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
  4. 4.0 4.1 8.5 GB = 8.5 * 1000^3 bytes = 8500000000 bytes (for more information, see http://en.wikipedia.org/wiki/Gigabyte and http://en.wikipedia.org/wiki/DVD#Capacity