Dateigröße bei ext2

Florian Lohoff flo at rfc822.org
Tue Feb 27 12:42:00 CET 2001


On Tue, Feb 27, 2001 at 10:07:49AM +0100, Artur Neumann wrote:
> Florian Lohoff wrote:
> 
> > Blocksize / sizeof(Blockptr) = No Pointer per Block
> > 

> heißt dass das ich bei einer blockgröße von 4096 Byte 4 Pointer brauch?

Nein - Ein BlockPtr ist 32 Bit d.h. 4 Byte - Beie iner BlockSize von 
4096 byte und einem BlockPtr von 4 Byte kannst du 1024 pointer in einem
indirekt block unterbringen.

Mal nebenbei bemerkt ist diese art von Blockaddressierung wirklich veraltet.
Normalerweise wird das in aktuellen Filesystemen via "start length" d.h.
mit "extents" abgelegt.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?





More information about the Linux mailing list