Minix Attributes associated with a file can be maintained in several places as discussed in the course content:

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter8: Advanced Data Handling Concepts
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question
100%

Minix

Attributes associated with a file can be maintained in several places as discussed in
the course content:
a. Within the set of open file descriptors
b. Within the system-wide file table entry for the file
c. Within the ‘i-node’ (or ‘v-node’)
These attributes can be associated with the actual file (e.g. the file size), or can be associated
with an open instance of the file (e.g. whether the file is opened for reading or writing, whether the
file is opened for non-blocking I/O, etc.).
What would be preferred location of the following attributes of a file and why? Discuss any
tradeoffs if that attribute could be in more than one of the above.
a. The owner of the file.
b. The “read/write” pointer of the open file.
c. Whether the file is opened for reading, writing, or both.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr