Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  The data block of a very large file in the Un... Start Learning for Free
The data block of a very large file in the Unix file system are allocated using
  • a)
    Contiguous allocation
  • b)
    Linked allocation
  • c)
    Indexed allocation
  • d)
    An extension of indexed allocation
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
The data block of a very large file in the Unix file system are alloca...
Data block of a very large file in the UNIX file system are allocated using an extersion of induced allocation.
View all questions of this test
Most Upvoted Answer
The data block of a very large file in the Unix file system are alloca...
Extension of Indexed Allocation in Unix File System

In Unix file system, the allocation of data blocks for a large file is done using an extension of indexed allocation. Let us understand the concept of indexed allocation first and then move on to the extension of indexed allocation.

Indexed Allocation
Indexed allocation is a file allocation technique where a separate index block is maintained for each file. This index block contains the addresses of all the data blocks allocated to the file. The file header contains the address of the index block.

Advantages of Indexed Allocation:
- No external fragmentation
- Random access of blocks
- Efficient use of space

Disadvantages of Indexed Allocation:
- Limited file size due to limited number of index blocks
- Wastage of space due to small last block

Extension of Indexed Allocation
In the extension of indexed allocation, the address of the index block is stored in a pointer block. This pointer block contains the addresses of several index blocks, each of which contains the addresses of data blocks allocated to the file.

Advantages of Extension of Indexed Allocation:
- Large file size
- Efficient utilization of space
- Random access of blocks

Disadvantages of Extension of Indexed Allocation:
- Wastage of space due to small last block
- Overhead of maintaining pointer blocks

Conclusion
Hence, in the Unix file system, the data blocks of a very large file are allocated using an extension of indexed allocation. This technique allows for efficient utilization of space and random access of blocks, while also allowing for large file sizes.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer?
Question Description
The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer?.
Solutions for The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer?, a detailed solution for The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer? has been provided alongside types of The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The data block of a very large file in the Unix file system are allocated usinga)Contiguous allocationb)Linked allocationc)Indexed allocationd)An extension of indexed allocationCorrect answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev