Mailinglist Archive: opensuse-de (6551 mails)
| < Previous | Next > |
Re: [OT] Verständnisfrag e zu Inodes
- From: Peter Wiersig <wiersig-ml@xxxxxxxxxxxxx>
- Date: Wed, 7 Aug 2002 17:28:07 +0200
- Message-id: <20020807172807.A31647@xxxxxxxxxxxxx>
Gerd-Christian Michalke wrote:
Noe, Zahlen falsch:
/usr/share/doc/howto/en/html/mini/HOWTO/mini/Ext2fs-Undeletion-Dir-Struct/index.html
"* The block numbers of the first 12 data blocks are stored directly
in the inode; these are sometimes referred to as the direct blocks.
* The inode contains the block number of an indirect block. An
indirect block contains the block numbers of 256 additional data
blocks.
* The inode contains the block number of a doubly indirect block. A
doubly indirect block contains the block numbers of 256 additional
indirect blocks.
* The inode contains the block number of a triply indirect block. A
triply indirect block contains the block numbers of 256 additional
doubly indirect blocks.
Read that again: I know it's complex, but it's also important."
Peter
Also, in extfs2, so hab ich's im Linux Kernel Internals gelesen) gibt es den
Direkt (also im inode selbst) mit Adressierung von 12 Blöcken, den single
indirekt mit noch einmal 12, double indirekt mit 12x12 und den triple
indirekt mit 12x12x12 adressierte Blöcken.
Noe, Zahlen falsch:
/usr/share/doc/howto/en/html/mini/HOWTO/mini/Ext2fs-Undeletion-Dir-Struct/index.html
"* The block numbers of the first 12 data blocks are stored directly
in the inode; these are sometimes referred to as the direct blocks.
* The inode contains the block number of an indirect block. An
indirect block contains the block numbers of 256 additional data
blocks.
* The inode contains the block number of a doubly indirect block. A
doubly indirect block contains the block numbers of 256 additional
indirect blocks.
* The inode contains the block number of a triply indirect block. A
triply indirect block contains the block numbers of 256 additional
doubly indirect blocks.
Read that again: I know it's complex, but it's also important."
Peter
| < Previous | Next > |