I-node information

I-node information - I-node information An i-node...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
I-node information An i-node represents a file in disk. Each i-node contains: 1. Mode 1. Read, Write, Execute (for Owner/Group/All) RWX RWX RWX 2. Owners 1. Userid, Groupid 3. Time Stamps 1. Creation time, Access Time, Modification Time. 4. Size 1. Size of file in bytes 5. Ref. Count – 1. Reference count with the number of times the i-node appears in a directory (hard links). 2. Increases every time file is added to a directory. The file the i-node represents will be removed when the reference count reaches 0.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
I-node information The I-node also contains a block index with the blocks that form the file. To save space, the block index uses indices of different levels. This benefits small files since they form the largest percentage of files. Small files only uses the direct and single- indirect blocks. This saves in space spent in block indices.
Background image of page 2
I-node information Direct block – Points directly to the block. There are 12 of them in the structure Single indirect –
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

I-node information - I-node information An i-node...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online