Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tranzystorekk/mdofs

Simple userspace filesystem implementation
https://github.com/tranzystorekk/mdofs

Last synced: 21 days ago
JSON representation

Simple userspace filesystem implementation

Awesome Lists containing this project

README

        

# mdofs

Minimum Data Obfuscation filesystem

A very simple userspace filesystem implementation with concurrent process access.

Project developed for the UXP1A unix programming course at WUT.

### Prerequisites

You need to have the following libraries/software installed:

* protobuf (specifically `protobuf-lite`)
* boost (specifically the `system` and `filesystem` libraries)
* cmake

### Building

For more automated project configuration, import this project with the CLion IDE instead.

#### Step 1: Configure cmake

Run from project root:

`cmake -DCMAKE_BUILD_TYPE= -B -H.`

where `` is one of {Debug, Release},
`` is the build/cmake output directory for the chosen build type, e.g. `cmake-build-debug` for Debug.

#### Step 2: Build a target

`cmake --build --target `

### Components

#### Fsproto

Google Protobuf protocols for filesystem (de)serialization.

#### Simplefs

This is the API for interacting with the filesystem.

#### Utils

These programs provide a user-friendly command line entry point to the filesystem.

##### init

##### cat

##### ls

##### mkdir

##### mkfile

##### rm

##### fsize