101 reputation
bio website
location Udupi, India
age 24
visits member for 1 year, 5 months
seen Jan 22 '13 at 8:56

Android developer


Jan
22
comment Why are text files 4kB?
Pointers to the file (segment no, blk no) in the file system are the things that have to be stored and require one block to be assigned. If the text file is has very less content that can fit in the first block already assigned to it, then it won't require second block allocation. I agree that the whole of 4k is not used for the metadata and some internal fragmentation arises.
Jan
22
comment Why are text files 4kB?
Yes you are quite correct the 4k is the size the file system uses to store information regarding the storage od the file inside the file system. Things such as the index of the file from the beginning of a block, index of the block and size of memory utilized by the file are stored which eat up 4k. This information is used to reference the text file from the file system.