Procedure
- Continuous File Allocation :
- Create a File: Enter the file name, file type, and file size (in MB).
- Specify the Starting Block: Manually provide the starting block number (D.B.A) for the file.
- Allocate Blocks to the File: Click the SUBMIT button to allocate the blocks to the file on the hard disk.
- Observe Allocation: If enough memory is available, observe the changes in the directory and ensure that the blocks are allocated contiguously.
- Repeat for Additional Files: Repeat steps 1 through 4 for each new file until all blocks are allocated.
- Linked File Allocation :
- Enter the Number of Blocks: Specify the number of blocks (5–15) you want to allocate on the hard disk.
- Enter the Block Size: Set the block size (10–100 MB) you want for each block.
- Submit Block Allocation: Click the SUBMIT button to allocate the specified number of blocks with the given size.
- Create a File: Enter the file name, file type, and file size (in MB).
- Specify the Starting and Ending Block: Manually provide the starting & ending block number (D.B.A) for the file.
- Allocate Blocks to the File: Click the SUBMIT button to allocate the blocks to the file on the hard disk.
- Observe Allocation: If enough memory is available, observe the changes in the directory and ensure that the blocks are allocated non-contiguously.
- Repeat for Additional Files: Repeat steps 4 through 7 for each new file until all blocks are allocated.
- Index File Allocation :
- Enter the Number of Blocks: Specify the number of blocks (5–15) you want to allocate on the hard disk.
- Enter the Block Size: Set the block size (10–100 MB) you want for each block.
- Submit Block Allocation: Click the SUBMIT button to allocate the specified number of blocks with the given size.
- Create a File: Enter the file name, file type, and file size (in MB).
- Specify the Index Block: Manually provide the index block number(free block) for the file.
- Allocate Blocks to the File: Click the SUBMIT button to allocate the blocks to the file on the hard disk.
- Observe Allocation: If enough memory is available, observe the changes in the directory and ensure that the blocks are allocated non-contiguously.
- Repeat for Additional Files: Repeat steps 4 through 7 for each new file until all blocks are allocated.