[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] size



On Mon, Dec 06, 1999 at 09:51:44AM +0530, Sharad Joshi wrote:
> 
> Ok, here is it. Sorry, i did not mention that in the first mail. Another
> point was, if that was in bytes, why so much discrepency in the number of
> bytes shown by 'ls -l' and 'size'.

It's a constant overhead due to ELF headers. If you increase the size of
the text/data sections (as is typical for a Linux executable), the overhead 
becomes negligible.

When you save the file, ext2fs is going to allocate a disk block
anyway. Instead of leaving the rest of the block empty, you've put some
useful stuff in there :)

	-Arun
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.