Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 681 Bytes

README.md

File metadata and controls

34 lines (31 loc) · 681 Bytes

SOL - File Storage Server 🗂

Final project for 'Operating Systems' curse @ UniPi. More info in relazione/Relazione.pdf.

How to

Compile

# Compile both client and server in build/
make
# Compile client and server separately
make client # build/client
make server # build/server
# Clean up object files (optional)
make clean

Run

# Start the server, with a sample configuration file
./build/server config/config-example.txt
# Start the client, connect to the server and exit
./build/client -f ./fss.sk -p

Test

# Basic
make test1
# Replacement Algorithm
make test2
# Stress test
make test3
# Clean up dummy files
make cleanall