Test
Test
We already have a file system, which is able to load files and to read/write
data in them. This file system covers most of the system calls requirements,
doing those operations effectively.
I also have the implementation of the argument passing functionality and
of running several processes from the team mates.
3.3 Functionality
The create function has the purpose of creating a file and also open it.
This means it will be allocated in the file descriptor table and will have a fixed
size. It is the user’s responsability to check this size and to make sure they don’t
write after the end of file.
The open file function will retrieve the file descriptor in the table for the
user.
The read function will read from the file the specified number of positions
in a buffer. This function will use the read function of the file system, which
reads bytes from the current position. The FD0 special case should be treated,
as it needs reading from the console.
The seek function will only use the seek capability of the file system.