This is our ECE 356 Project Submission made by Eliseo Ruiz Nowell and Gerald Aryeetey
This project uses MySQL to implement a UN*X File System using a Relational Database. An ER Model of the Database is included in the root folder, and the tables used are all in BCNF and therefore normalized.
Python 3.X+ hon 3.X+
- PIP MySQL 8.0+
- If you don't have it, download python pip using
sudo apt install python3-pip
- Install the mysql connector using pip
apt install mysql-connector-python
- Create an empty MySQL Database
CREATE <database_name>
and runUSE <database_name>
- Run
SOURCE fs_schema.sql
within the mysql database - Copy .fs_db_rdbsh template and store it in ./.fs_db_rdbsh or ~/.fs_db_rdbsh
- Fill in ./.fs_db.rdbsh with your specific database information
- Fill the database with data by running
./fill_fs_rd.py
(If you want to see A LOT MORE data, rename the setup_template folder to be setup, we used the current one for the demo and for testing because it was faster)
- Run
./rdbsh
to enter the file system - To exit, press Ctrl+D or alternatively type
exit
and press enter
- Too long of file paths or names i.e. filename/username/groupname