Re: i_blocks in struct ext2_inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 10 Jan 2009 13:43:29 +0530 "Sandeep K Sinha"
<sandeepksinha@xxxxxxxxx> wrote:
> I don't understand the reason why we keep the number of blocks in
> multiple of 512 bytes.
> I mean, if we have allocated 1 block, this value is shown as 8, 16 for
> 2 and so on.... for a 4KB file system block size.
> 
> Is there any specific reason for the same ?

Block devices have historically used a 512 byte blocksize. That will
change in the future, but the default blocksize will remain 512 bytes
for a long time.


Erik

-- 
Erik Mouw -- mouw@xxxxxxxxxxxx
GPG key fingerprint: D6AC 7F15 A26E C5C4 62E0  4A58 FCF9 551C 9B48 B68D

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux