Question: Question 1 2 Given a FILESYSTEM of type VSFS studied in the lecture, which uses a block size of 4 0 9 6 bytes. In
Question
Given a FILESYSTEM of type VSFS studied in the lecture, which uses a block size of bytes. In FILESYSTEM there is a single file named foo size bytes. A process writes a string of bytes to the offset OFFSET in the file as follows:
int fd openfoo ORDWR; lseekfd SEEKSET; writefd "hello world", ;
Assume that the process is the only one that accesses SYSTEM CALLS FILESYSTEM do not fail and the write writes the entire string; And there is no CACHING of blocks from the disk in the memory in particular, a change of the block in the FILESYSTEM causes the block to be written to the disk
How many operations will result in executing the plan?
S d
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
