A magnetic tape drive writes 600000 bytes of data while the tape moves continuously at 200 inches per second. The data recording density is 1600 bytes per inch. Each record contains 100 one-byte characters, and the blocking factor is 10 records per block. Assume an interblock gap of exactly 0.6 inch between consecutive blocks. Ignore all other recording overhead, including preambles and postambles, and exclude acceleration, stopping, and any gap before the first or after the last block. What is the elapsed time from the start of writing the first data block to the completion of the last?
3.672 sec
Step 1 — Count blocks and gaps:
Each block contains 100 × 10 = 1000 bytes. Thus there are 600000/1000 = 600 blocks and 599 gaps between them.
Step 2 — Calculate tape length:
\(L=\dfrac{600000}{1600}+599(0.6)=375+359.4=734.4\text{ inches}.\)
Step 3 — Divide by transport speed:
\(t=\dfrac{734.4}{200}=3.672\text{ s}.\)
Match the following :
| List - I | List - II |
| a. Contiguous allocation | i. This scheme supports very large file sizes. |
| b. Linked allocation | ii. This allocation technique supports only sequential files. |
| c. Indexed allocation | iii. Number of disks required to access file is minimal. |
| d. Multi-level indexed | iv. This technique suffers from maximum wastage of space in storing pointers. |
Codes :
A unix file system has 1-KB blocks and 4-byte disk addresses. What is the maximum file size if i-nodes contain 10 direct entries and one single, double and triple indirect entry each ?
In the indexed scheme of blocks to a file, the maximum possible size of the file depends on :
In __________ allocation method for disk block allocation in a file system, insertion and deletion of blocks in a file is easy.
What is called Journaling in Linux operating system?