Subjects
Applied Mathematics for Electrical Engineering - 3130908
Complex Variables and Partial Differential Equations - 3130005
Engineering Graphics and Design - 3110013
Basic Electronics - 3110016
Mathematics-II - 3110015
Basic Civil Engineering - 3110004
Physics Group - II - 3110018
Basic Electrical Engineering - 3110005
Basic Mechanical Engineering - 3110006
Programming for Problem Solving - 3110003
Physics Group - I - 3110011
Mathematics-I - 3110014
English - 3110002
Environmental Science - 3110007
Software Engineering - 2160701
Data Structure - 2130702
Database Management Systems - 2130703
Operating System - 2140702
Advanced Java - 2160707
Compiler Design - 2170701
Data Mining And Business Intelligence - 2170715
Information And Network Security - 2170709
Mobile Computing And Wireless Communication - 2170710
Theory Of Computation - 2160704
Semester
Semester - 1
Semester - 2
Semester - 3
Semester - 4
Semester - 5
Semester - 6
Semester - 7
Semester - 8
Operating System
(2140702)
OS-2140702
Winter-2018
5-b
BE | Semester-
4
Winter-2018
|
10-12-2018
Q5) (b)
4 Marks
What is I-node? Explain in brief.
I-nodes
A method for keeping track of which blocks belong to which file is to associate with each file a data structure called an i-node (index-node), which lists the attributes and disk addresses of the file’s blocks.
A simple example is given in below figure.
Given the i-node, it is then possible to find all the blocks of the file.
The big advantage of this scheme over linked files using an in-memory table is that i-node need only be in memory when the corresponding file is open.
If each i-node occupies n bytes and a maximum of k files may be open at once, the total memory occupied by the array holding the i-nodes for the open files is only kn bytes. Only this much space needs to be reserved in advance.
One problem with i-nodes is that if each one has room for a fixed number of disk addresses, what happens when a file grows beyond this limit?
One solution is to reserve the last disk address not for a data block, but instead for the address of a block containing more disk block addresses, as shown in below figure.
Questions
Go to Question Paper
Q1
(a)
(b)
(c)
Q2
(a)
(b)
(c)
(c)
Q3
(a)
(b)
(c)
Q3
(a)
(b)
(c)
Q4
(a)
(b)
(c)
Q4
(a)
(b)
(c)
Q5
(a)
(b)
(c)
Q5
(a)
(b)
(c)