`ls -l` shows size of file other than of the folder?
grarpamp
grarpamp at gmail.com
Thu Jun 14 02:33:55 UTC 2012
> The following creates a file with a size of 1024000002 (a gig)
> fseek(stdout, 1000000*1024, SEEK_END);
Nope :) What you have there is not actually called (anything).
A proper gibibyte = GiB = 2^30 = 1024^3 = 1073741824
for data storage, ram (binary bit handling)
A proper gigabyte = GB = 1E9 = 1000^3 = 1000000000
for data transmission (packet counting, rocketships)
There be current standards, please use them.
https://en.wikipedia.org/wiki/Binary_prefix
https://en.wikipedia.org/wiki/ISO/IEC_80000
http://www.swedeteam.com/kibi/
More information about the freebsd-questions
mailing list