SlideShare a Scribd company logo
Indexed Allocation


A modification of linked allocation where
the disk block pointers for a file are all
placed in an index block.




                                              1
                 http://raj-os.blogspot.in/   1
Example of Indexed Allocation




         http://raj-os.blogspot.in/   2
Indexed Allocation
• File allocation table contains a separate one
  level index for each file

• The index has one entry for each portion
  allocated to the file

• File indexes are not stored as part of file
  allocation table


                                                  3
                    http://raj-os.blogspot.in/    3
Indexed Allocation

• File indexes are stored in separate block and the
  entry for the file in the file allocation table points to
  that block

• Allocation may be on basis of either fixed size block
  or variable size blocks




                                                              4
                       http://raj-os.blogspot.in/             4
Indexed Allocation Advantages

•   No external fragmentation

•   provides efficient random access

•   Easily map bad disk blocks




                                                   5
                      http://raj-os.blogspot.in/   5
Indexed Allocation Advantages

•   No external fragmentation

•   provides efficient random access

•   Easily map bad disk blocks




                                                   5
                      http://raj-os.blogspot.in/   5

More Related Content

What's hot

Directory structure
Directory structureDirectory structure
Directory structure
sangrampatil81
 
Disk management
Disk managementDisk management
Disk management
Agnas Jasmine
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
shashikant pabari
 
Operating System Multiple Choice Questions
Operating System Multiple Choice QuestionsOperating System Multiple Choice Questions
Operating System Multiple Choice Questions
Shusil Baral
 
Dynamic storage allocation techniques
Dynamic storage allocation techniquesDynamic storage allocation techniques
Dynamic storage allocation techniques
Shashwat Shriparv
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
tittuajay
 
Demand paging
Demand pagingDemand paging
Demand paging
SwaroopSorte
 
Files concepts.53
Files concepts.53Files concepts.53
Files concepts.53
myrajendra
 
Structure of the page table
Structure of the page tableStructure of the page table
Structure of the page table
duvvuru madhuri
 
File organization 1
File organization 1File organization 1
File organization 1
Rupali Rana
 
Cache coherence
Cache coherenceCache coherence
Cache coherence
Priyam Pandey
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
Janki Shah
 
Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
NEERAJ BAGHEL
 
Free Space Management, Efficiency & Performance, Recovery and NFS
Free Space Management, Efficiency & Performance, Recovery and NFSFree Space Management, Efficiency & Performance, Recovery and NFS
Free Space Management, Efficiency & Performance, Recovery and NFS
United International University
 
File system Os
File system OsFile system Os
File system Os
Nehal Naik
 
RAID LEVELS
RAID LEVELSRAID LEVELS
RAID LEVELS
Uzair Khan
 
File sharing
File sharingFile sharing
File sharing
janani thirupathi
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
Mahmuda Rahman
 
File System Implementation - Part1
File System Implementation - Part1File System Implementation - Part1
File System Implementation - Part1
Amir Payberah
 
File Management
File ManagementFile Management
File Management
ramya marichamy
 

What's hot (20)

Directory structure
Directory structureDirectory structure
Directory structure
 
Disk management
Disk managementDisk management
Disk management
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
 
Operating System Multiple Choice Questions
Operating System Multiple Choice QuestionsOperating System Multiple Choice Questions
Operating System Multiple Choice Questions
 
Dynamic storage allocation techniques
Dynamic storage allocation techniquesDynamic storage allocation techniques
Dynamic storage allocation techniques
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Demand paging
Demand pagingDemand paging
Demand paging
 
Files concepts.53
Files concepts.53Files concepts.53
Files concepts.53
 
Structure of the page table
Structure of the page tableStructure of the page table
Structure of the page table
 
File organization 1
File organization 1File organization 1
File organization 1
 
Cache coherence
Cache coherenceCache coherence
Cache coherence
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
 
Free Space Management, Efficiency & Performance, Recovery and NFS
Free Space Management, Efficiency & Performance, Recovery and NFSFree Space Management, Efficiency & Performance, Recovery and NFS
Free Space Management, Efficiency & Performance, Recovery and NFS
 
File system Os
File system OsFile system Os
File system Os
 
RAID LEVELS
RAID LEVELSRAID LEVELS
RAID LEVELS
 
File sharing
File sharingFile sharing
File sharing
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
File System Implementation - Part1
File System Implementation - Part1File System Implementation - Part1
File System Implementation - Part1
 
File Management
File ManagementFile Management
File Management
 

More from myrajendra

Fundamentals
FundamentalsFundamentals
Fundamentals
myrajendra
 
Data type
Data typeData type
Data type
myrajendra
 
Hibernate example1
Hibernate example1Hibernate example1
Hibernate example1
myrajendra
 
Jdbc workflow
Jdbc workflowJdbc workflow
Jdbc workflow
myrajendra
 
2 jdbc drivers
2 jdbc drivers2 jdbc drivers
2 jdbc drivers
myrajendra
 
3 jdbc api
3 jdbc api3 jdbc api
3 jdbc api
myrajendra
 
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
myrajendra
 
Dao example
Dao exampleDao example
Dao example
myrajendra
 
Sessionex1
Sessionex1Sessionex1
Sessionex1
myrajendra
 
Internal
InternalInternal
Internal
myrajendra
 
3. elements
3. elements3. elements
3. elements
myrajendra
 
2. attributes
2. attributes2. attributes
2. attributes
myrajendra
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
myrajendra
 
Headings
HeadingsHeadings
Headings
myrajendra
 
Forms
FormsForms
Forms
myrajendra
 
Css
CssCss
Views
ViewsViews
Views
myrajendra
 
Views
ViewsViews
Views
myrajendra
 
Views
ViewsViews
Views
myrajendra
 
Starting jdbc
Starting jdbcStarting jdbc
Starting jdbc
myrajendra
 

More from myrajendra (20)

Fundamentals
FundamentalsFundamentals
Fundamentals
 
Data type
Data typeData type
Data type
 
Hibernate example1
Hibernate example1Hibernate example1
Hibernate example1
 
Jdbc workflow
Jdbc workflowJdbc workflow
Jdbc workflow
 
2 jdbc drivers
2 jdbc drivers2 jdbc drivers
2 jdbc drivers
 
3 jdbc api
3 jdbc api3 jdbc api
3 jdbc api
 
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
 
Dao example
Dao exampleDao example
Dao example
 
Sessionex1
Sessionex1Sessionex1
Sessionex1
 
Internal
InternalInternal
Internal
 
3. elements
3. elements3. elements
3. elements
 
2. attributes
2. attributes2. attributes
2. attributes
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
 
Headings
HeadingsHeadings
Headings
 
Forms
FormsForms
Forms
 
Css
CssCss
Css
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Starting jdbc
Starting jdbcStarting jdbc
Starting jdbc
 

Index allocation 48 1

  • 1. Indexed Allocation A modification of linked allocation where the disk block pointers for a file are all placed in an index block. 1 http://raj-os.blogspot.in/ 1
  • 2. Example of Indexed Allocation http://raj-os.blogspot.in/ 2
  • 3. Indexed Allocation • File allocation table contains a separate one level index for each file • The index has one entry for each portion allocated to the file • File indexes are not stored as part of file allocation table 3 http://raj-os.blogspot.in/ 3
  • 4. Indexed Allocation • File indexes are stored in separate block and the entry for the file in the file allocation table points to that block • Allocation may be on basis of either fixed size block or variable size blocks 4 http://raj-os.blogspot.in/ 4
  • 5. Indexed Allocation Advantages • No external fragmentation • provides efficient random access • Easily map bad disk blocks 5 http://raj-os.blogspot.in/ 5
  • 6. Indexed Allocation Advantages • No external fragmentation • provides efficient random access • Easily map bad disk blocks 5 http://raj-os.blogspot.in/ 5