`ls -l` shows size of file other than of the folder?
- From: grarpamp <grarpamp@xxxxxxxxx>
- Date: Wed, 13 Jun 2012 22:33:50 -0400
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/
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: `ls -l` shows size of file other than of the folder?
- From: Polytropon
- Re: `ls -l` shows size of file other than of the folder?
- Prev by Date: Re: `ls -l` shows size of file other than of the folder?
- Next by Date: Re: Newbie question: Why aren't my cron jobs running?
- Previous by thread: Re: `ls -l` shows size of file other than of the folder?
- Next by thread: Re: `ls -l` shows size of file other than of the folder?
- Index(es):