InterviewSolution
Saved Bookmarks
| 1. |
How many data structures does the kernel maintain in memory that contain information about an open file?(a) 3(b) 2(c) 5(d) 1I had been asked this question in unit test.I need to ask this question from File handling System Calls topic in portion System Programming I – Files of Unix |
|
Answer» RIGHT choice is (a) 3 Easiest explanation: The kernel maintains THREE data structures in memory that contain all INFORMATION about an open FILE that a PROCESS needs to access. These data structures are: The file descriptor table The file table The vnode table |
|