[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ping on CD would not take up any additional space



On Fri, Mar 23, 2007 at 10:46:14PM -0300, Felipe Augusto van de Wiel (faw) wrote:
> 	ping is not exactly the smallest of the programs (~30K), and I 
> really trust d-i team judgement, I was just imagining that if it is 
> possible to have ping (which means that space and other things are not a 
> problem), we should add it for our users.

There is _no_ reason to exclude ping because of concerns about its size!!

I have just compiled the udebs both without and with ping. Adding ping 
makes the busybox binary larger by 1568 BYTES or 800 BYTES depending on the 
udeb:
				busybox binary size:	with ping:
busybox-floppy-udeb/bin/busybox		 74404		 75972
busybox-udeb/bin/busybox		201228		202028

In the packed udeb, the difference is a whopping 678 bytes or 472 bytes:

					.udeb size:	with ping:
busybox-floppy-udeb_1.1.3-4_i386.udeb	 45920		 46598		
busybox-udeb_1.1.3-4_i386.udeb		118896		119368

BTW, when the .udeb is put on a CD, the ISO9660 filesystem will always 
round up the required space to the next multiple of 2 kBytes. As it 
happens, the addition of ping makes no difference at all when this is 
considered:
				.udeb 2k CD blocks:	with ping:
busybox-floppy-udeb_1.1.3-4_i386.udeb	23		23
busybox-udeb_1.1.3-4_i386.udeb		59		59

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  GnuPG key: 888354F7
  | \/¯|  http://atterer.net  |  08A9 7B7D 3D13 3EF2 3D25  D157 79E6 F6DC 8883 54F7
  ¯ '` ¯



Reply to: