You are not logged in.
Pages: 1
hi to everybody,
with latest update (pacman-4.0.1-4), units' format change from MB -> to -> MiB
how can i revert it back ???
thanks
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Offline
really ? don't exist a switch ?
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
whats wrong with MiB?
Offline
I think you should read on the difference between the two.
https://en.wikipedia.org/wiki/Mebibyte
And as others pointed out, MiB is the correct usage.
Offline
And as others pointed out, MiB is the correct usage.
Why is that? To me the MB (10^9 B 10^6 B) is a perfectly fine unit of measurement.
Though I like more the base-2 multiples (easier for the cpu to do the conversion), you have to consider that hard disk capacity is always advertised in decimal units. Maybe a switch like in ls (--si) could be implemented.
Last edited by robcat (2012-01-19 11:18:08)
Offline
you have to consider that hard disk capacity is always advertised in decimal unit
So instead of 1000000 MB you get 953674 (or whatever) MiB.
To me the MB (10^9 B) is a perfectly fine unit of measurement.
10 ^ 6
Last edited by karol (2012-01-19 11:06:43)
Offline
So instead of 1000000 MB you get 953674 (or whatever) MiB.
Yes, but you have to convert back to MB if you want to compare it to your hard drive/DVD/flash memory capacity or check how much you provider will bill you for network usage. I still don't understand why MB is better than MiB in this context.
Ubuntu, for example, is standardizing on decimal multiples for disk sizes and network usage https://wiki.ubuntu.com/UnitsPolicy and other tools on my system (like gnome disk utility) are displaying disk sizes in GB
Offline
Are you measuring your HD space with pacman? df can use either MB or MiB.
Ask Ubuntu to reverse their way.
Offline
None of this is happening, period. We switched from MB -> MiB to be clear we divide by 1024 for our units (we always have!), so it looks like you are barking up the wrong tree anyway here, as we're just making it reflect reality, not changing the divisor. Adding some crappy flag is about the least KISS thing we could do here.
Offline
Are you measuring your HD space with pacman? df can use either MB or MiB.
Ask Ubuntu to reverse their way.
The open poster was asking why the units were changed, and other posters said the old ones were incorrect/inaccurate; so I was bringing some examples to understand why are those wrong usages. From what I see in man units, even linux is reporting the disk space in MB.
I've always assumed pacman 3 was using the units consistently, was it using MB for 2^20 B instead?
Offline
In the free software world programs are slowly being changed to con‐
form. When the Linux kernel boots and sayshda: 120064896 sectors (61473 MB) w/2048KiB Cache
the MB are megabytes and the KiB are kibibytes.
Not sure why it's MB + KiB.
ON my system it says
ata1.00: 78156288 sectors, multi 16: LBA
Last edited by karol (2012-01-19 12:21:59)
Offline
Pages: 1