ext3 real disk occupation of a file

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

 




Hi,

I'm trying to understand why extra blocks are added when you create a file in the ext3 fs:

for example, let's create a file of 1111 blocks (4096 bytes for each block)

$ dd if=/dev/zero of=foo bs=4096 count=1111

the real occupation disk is then:

$ du -B 4096 foo
1114

instead of 1111

So where the 3 extra blocks come from?

Thanks for help!

youness

--
Y.
_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux