Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread Matthew Seaman
On 14/06/2012 08:40, Matthew Seaman wrote: Really? If I said the bandwidth usage was 10Mb/s would you immediately understand that was 10,000,000,000 bits per second? Err... of course you wouldn't. 10,000,000 bits per second. That's what I meant to type. Matthew -- Dr Matthew J

Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread Polytropon
On Thu, 14 Jun 2012 08:40:27 +0100, Matthew Seaman wrote: On 14/06/2012 07:11, Polytropon wrote: Even school taught that in the 80's: When dealing with computers, 1 kB != 1000 B, but 1 kB = 1024 B. That is considered basic knowledge. Schools teach a lot of things that are so glossed over

Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread Peter Vereshagin
Hello. 2012/06/14 00:23:25 +0400 Peter Vereshagin pe...@vereshagin.org = To freebsd-questions@freebsd.org: PV ot the least how could I see the 'real' size of each of those files, both ~150M PV actulally, with a system command? also, 'du' works that way for regular files. But implicitly I

Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread David Brodbeck
On Thu, Jun 14, 2012 at 12:37 PM, Peter Vereshagin pe...@vereshagin.org wrote: Hello. 2012/06/14 00:23:25 +0400 Peter Vereshagin pe...@vereshagin.org = To freebsd-questions@freebsd.org: PV ot the least how could I see the 'real' size of each of those files, both  ~150M PV actulally, with

Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread grarpamp
The following creates a file with a size of 102402 (a gig) fseek(stdout, 100*1024, SEEK_END); Nope :) What you have there is not actually called (anything). It would maybe be called a MKiB. :-) I'll buy that, if someone chips in the deuce :) In SI units it is called a gigabyte.

`ls -l` shows size of file other than of the folder?

2012-06-13 Thread Peter Vereshagin
Hello. I have the directory in the file system with 2 regular files each of which is sized as 700M according to 'ls -l'. But the torrent client and 'du -s' and 'ls -l's 'total' show that the directory size is 300M. How can that be? Are there different file sizes stored on a ufs1 in

Re: `ls -l` shows size of file other than of the folder?

2012-06-13 Thread Chuck Swiger
Hi-- On Jun 13, 2012, at 1:23 PM, Peter Vereshagin wrote: I have the directory in the file system with 2 regular files each of which is sized as 700M according to 'ls -l'. But the torrent client and 'du -s' and 'ls -l's 'total' show that the directory size is 300M. How can that be?

Re: `ls -l` shows size of file other than of the folder?

2012-06-13 Thread ill...@gmail.com
On 13 June 2012 16:23, Peter Vereshagin pe...@vereshagin.org wrote: Hello. I have the directory in the file system with 2 regular files each  of  which   is sized as 700M according to 'ls -l'.  But the torrent client and 'du -s' and   'ls -l's 'total' show that the directory size is 300M.