Skip to content

πŸ“šπŸ’» Algorithms and Data Structures Project - BSc Thesis

License

Notifications You must be signed in to change notification settings

ste7en/SimpleFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SimpleFS

A simple hierarchical file system based on UNIX FS syntax implemented in C99 with only the standard library (libc), as final project of API – Algorithms course of Politecnico di Milano.

The project is a mono module and its source code is in SimpleFS directory with its instructions. You can use .in files in /SimpleFS/test directory with cat command from your terminal to test the program with public inputs and compare the results with .out files.

Here are the commands: (Reminder: paths have Unix-like syntax, like /dir/dir1/dir2/file.)

β€’ create <file-path>

creates a file in specified directory

β€’ create_dir <dir-path>

creates a directory in specified directory

β€’ write <file-path> "insert text here"

writes a string in a existing file; the string is between two quotation marks

β€’ read <file-path>

reads a file whose string is precedeed by 'contenuto '

β€’ find <name>

find files and directories in the filesystem

β€’ delete <file-path or dir-path>

deletes a file or a directory without sons

β€’ delete_r <dir-path>

recoursive delete of a directory

β€’ exit

exit from the program

About

πŸ“šπŸ’» Algorithms and Data Structures Project - BSc Thesis

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages