Launchpad has imported 8 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=118006.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2004-03-10T23:13:26+00:00 Petri wrote: >From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 Description of problem: eth0 Link encap:Ethernet HWaddr 00:02:B3:63:DA:BE inet addr:80.222.51.178 Bcast:80.222.63.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4643429 errors:0 dropped:0 overruns:0 frame:0 TX packets:4407272 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:463857499 (442.3 Mb) TX bytes:2823718271 (2692.9 Mb) I think Mb (megabit = 1,000,000 bits) should be MiB (megabyte = 1,048,576 bytes). Version-Release number of selected component (if applicable): net-tools-1.60-22 How reproducible: Always Steps to Reproduce: 1. Use calculator: 2823718271 / 1024 / 1024 = 2692,90759182... MiB. 1048576 * 2692,90759182 = 2823718271,00024832 Additional info: Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/0 ------------------------------------------------------------------------ On 2004-03-10T23:33:07+00:00 Juha wrote: debian uses [KMG]iB eth0 Link encap:Ethernet HWaddr 00:50:04:6A:F7:3C inet addr:10.0.0.10 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::250:4ff:fe6a:f73c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2478006 errors:0 dropped:0 overruns:0 frame:0 TX packets:2866712 errors:0 dropped:0 overruns:0 carrier:0 collisions:1706 txqueuelen:1000 RX bytes:795139352 (758.3 MiB) TX bytes:3036864587 (2.8 GiB) Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/1 ------------------------------------------------------------------------ On 2004-03-14T18:03:38+00:00 Petri wrote: man 7 units Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/2 ------------------------------------------------------------------------ On 2004-03-14T18:30:56+00:00 Tom wrote: Created attachment 98528 Fix units to be SI standard This fixes the unit issues, and adds support for units from KiB to EiB. Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/3 ------------------------------------------------------------------------ On 2004-06-18T18:01:59+00:00 Alan wrote: KiB and MiB are geekspeek, it would IMHO be far better simply to divide by 1000, 1000000 et and use KB MB. MiB etc are also don't seem to be SI approved units but a proposal. Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/5 ------------------------------------------------------------------------ On 2004-08-30T09:33:01+00:00 Radek wrote: Tom's patch is applied to net-tools-1.60-33. I agree with Alan that "i" units are quite strange, but according to SI and that some other free software started to using them I've included this patch. Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/6 ------------------------------------------------------------------------ On 2006-01-08T01:12:54+00:00 David wrote: To correct the misinformation in comment #4 above: The prefixes for binary multiples are not just 'geekspeek', and neither are they merely 'a proposal'. They have been an IEC standard since 1998. See http://physics.nist.gov/cuu/Units/binary.html for further background. Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/7 ------------------------------------------------------------------------ On 2009-04-28T01:54:05+00:00 Alexander wrote: some more information: The SI prefixes should only be used in the decimal sense: kilobyte and megabyte denote one thousand bytes and one million bytes respectively, while kibibyte and mebibyte denote 1024 bytes and 1,048,576 bytes respectively. This recommendation has been adopted by SI, IEEE, CIPM, NIST, ISO/IEC and some other leading national and international standards, which now state that the prefixes k, M and G should always refer to powers of ten, even in the context of information technology. (reference: ISO/IEC IEC 80000-13:2008 ) reduced timeline: 1998: IEC introduces unambigous prefixes for binary multiples (KiB, MiB, GiB etc.), reserving kB, MB, GB and so on for their decimal sense. 2005: IEC prefixes are adopted by the IEEE after a two-year trial period. 2008: NIST guidelines require use of IEC prefixes KiB, MiB ... (and not kB, MB) for binary byte multiples “The names and symbols for the prefixes corresponding to 2 10 , 2 20 , 2 30 , 2 40 , 2 50 , and 2 60 are, respectively: kibi, Ki; mebi, Mi; gibi, Gi; tebi, Ti; pebi, Pi; and exbi, Ei. Thus, for example, one kibibyte would be written: 1 KiB = 2 10 B = 1024 B, where B denotes a byte. Although these prefixes are not part of the SI, they should be used in the field of information technology to avoid the incorrect usage of the SI prefixes.” also remember this: decimal value binary value difference 1000^1 = 10^3 1024^1 = 2^10 2.4% 1000^2 = 10^6 1024^2 = 2^20 4.9% 1000^3 = 10^9 1024^3 = 2^30 7.4% 1000^4 = 10^12 1024^4 = 2^40 10.0% 1000^5 = 10^15 1024^5 = 2^50 12.6% 1000^6 = 10^18 1024^6 = 2^60 15.3% 1000^7 = 10^21 1024^7 = 2^70 18.1% 1000^8 = 10^24 1024^8 = 2^80 20.9% also, this has a usability impact, since using the same wording with two different meanings is JUST PLAIN WRONG, and should end RIGHT NOW, Regular users don't know that the units have dual meanings, and we shouldn't continue confusing them in this way. Reply at: https://bugs.launchpad.net/ubuntu/+source/net- tools/+bug/240073/comments/20 ** Changed in: net-tools (Fedora) Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to net-tools in Ubuntu. https://bugs.launchpad.net/bugs/240073 Title: Ifconfig uses inconsistent units Status in net-tools package in Ubuntu: Fix Released Status in net-tools source package in Intrepid: Fix Released Status in net-tools package in Debian: Fix Released Status in net-tools package in Fedora: Fix Released Bug description: Binary package hint: net-tools The manpage of ifconfig clearly states: Since net-tools 1.60-4 ifconfig is printing byte counters and human readable counters with IEC 60027-2 units. So 1 KiB are 2^10 byte. Note, the numbers are truncated to one decimal (which can by quite a large error if you consider 0.1 PiB is 112.589.990.684.262 bytes :) Still, my current ifconfig gives me: wlan0 Link encap:Ethernet HWaddr 00:08:d3:05:23:0c inet addr:172.19.3.3 Bcast:172.19.255.255 Mask:255.255.0.0 inet6 addr: fe80::208:d3ff:fe05:230c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2592640 errors:0 dropped:0 overruns:0 frame:0 TX packets:2322789 errors:998 dropped:998 overruns:0 carrier:0 collisions:105271 txqueuelen:1000 RX bytes:2617519809 (2.4 GB) TX bytes:969817396 (924.8 MB) Interrupt:17 Base address:0x8000 2617519809 bytes means 2.6 GB or 2.4 GiB. But 2.4 GB is completely incorrect. Either fix the package or fix the man-page. I included a patch that should give correct behavior. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/240073/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp