CSCI 3150 Introduction to Operating Systems. Assignment Two.
CSCI 3150 Introduction to Operating Systems. Assignment Two. Suppose that there is a file with SFS and we have read the contents of its inode and related data blocks into the memory as shown below. Here, each cell represents a 4-byte memory space and the decimal number inside is the unsigned integer stored correspondingly. Answer the following questions: (a) What is the biggest size we can have for a file with SFS? (10 marks) (b) Provide data block numbers in sequence that will be read from the disk (only data blocks that contain file data) when read_t (inum, offset, buf1, count) is called in a user program, where inum is the corresponding inode number for the above inode, and buf1 is a pointer that points to a user-defined buffer. (40 marks)
Escuela, estudio y materia
- Institución
- CSCI 3150 Introduction to Operating Systems.
- Grado
- CSCI 3150 Introduction to Operating Systems.
Información del documento
- Subido en
- 20 de abril de 2023
- Número de páginas
- 3
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
csci 3150 introduction to operating systems assignment two