Introduction
Your task in this assignment is to implement a
simulated file system. The simulated file system
(simfs) is stored in a single Unix file. There is only
one directory in this file system, and there are limits
on the number of files (MAXFILES) it can store and the
amount of space (MAXBLOCKS) it can occupy. The key
file system structures are already defined; your job is
to add functions: the ability to create a file, delete a
file, write to a file, and read from a file.
In completing this assignment, we expect you will
learn about how file systems are implemented, will
become familiar with both binary and ASCII file I/O,
and will become comfortable using arrays of structs
and characters.
Please read the next section, about the simfs
structure, very carefully. The specification for the file
system is necessarily detailed, and for your program
to work with simfs-formatted files, it'll need to
conform precisely to the spec.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
23 | 24 | 25 | 26 | 27 | 28 | 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 1 | 2 | 3 | 4 | 5 |
Get Free Quote!
274 Experts Online