SlideShare a Scribd company logo
1 of 6
Download to read offline
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

contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptxRajapriya82
 
Query processing in Distributed Database System
Query processing in Distributed Database SystemQuery processing in Distributed Database System
Query processing in Distributed Database SystemMeghaj Mallick
 
Unit 6 interprocessor arbitration
Unit 6 interprocessor arbitrationUnit 6 interprocessor arbitration
Unit 6 interprocessor arbitrationDipesh Vaya
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for filesZainab Almugbel
 
Application layer in network system
Application layer in network systemApplication layer in network system
Application layer in network systemSalauddin Rubel
 
Operating system paging and segmentation
Operating system paging and segmentationOperating system paging and segmentation
Operating system paging and segmentationhamza haseeb
 
File organization 1
File organization 1File organization 1
File organization 1Rupali Rana
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 
Centralized shared memory architectures
Centralized shared memory architecturesCentralized shared memory architectures
Centralized shared memory architecturesGokuldhev mony
 
Data flow architecture
Data flow architectureData flow architecture
Data flow architectureSourav Routh
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System ImplementationWayne Jones Jnr
 

What's hot (20)

contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
 
Query processing in Distributed Database System
Query processing in Distributed Database SystemQuery processing in Distributed Database System
Query processing in Distributed Database System
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
 
Unit 6 interprocessor arbitration
Unit 6 interprocessor arbitrationUnit 6 interprocessor arbitration
Unit 6 interprocessor arbitration
 
File allocation methods (1)
File allocation methods (1)File allocation methods (1)
File allocation methods (1)
 
Disk structure
Disk structureDisk structure
Disk structure
 
Cache design
Cache design Cache design
Cache design
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for files
 
Application layer in network system
Application layer in network systemApplication layer in network system
Application layer in network system
 
Registers
RegistersRegisters
Registers
 
Compiler construction
Compiler constructionCompiler construction
Compiler construction
 
Operating system paging and segmentation
Operating system paging and segmentationOperating system paging and segmentation
Operating system paging and segmentation
 
Cache memory
Cache  memoryCache  memory
Cache memory
 
File organization 1
File organization 1File organization 1
File organization 1
 
Compression techniques
Compression techniquesCompression techniques
Compression techniques
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Centralized shared memory architectures
Centralized shared memory architecturesCentralized shared memory architectures
Centralized shared memory architectures
 
04 Cache Memory
04  Cache  Memory04  Cache  Memory
04 Cache Memory
 
Data flow architecture
Data flow architectureData flow architecture
Data flow architecture
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System Implementation
 

Viewers also liked

File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tablesshashikant pabari
 
Secondary storage management in os
Secondary storage management in osSecondary storage management in os
Secondary storage management in osSumant Diwakar
 
Operation System
Operation SystemOperation System
Operation SystemANANTHI1997
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemSneh Prabha
 
Os Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual MemoryOs Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual Memorysgpraju
 

Viewers also liked (6)

File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
 
Secondary storage management in os
Secondary storage management in osSecondary storage management in os
Secondary storage management in os
 
Operation System
Operation SystemOperation System
Operation System
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating System
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Os Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual MemoryOs Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual Memory
 

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