<commit_before># FBFS: Facebook Filesystem
====

Final project for CS137: Filesystems.

## Paper
If you'd like, you can read the paper that I wrote describing the filesystem
[here].

[here]: paper/final_paper.pdf?raw=true
<commit_msg>add instructions to README<commit_after># FBFS: Facebook Filesystem

Final project for CS137: Filesystems.

## Installation

Requirements:

* C++ compiler with C++11 support
* CMake
* FUSE 2.6
* Boost system and filesystem libraries
* Qt5 WebKit module

Once the requirements are met, install FBFS by entering the following commands
into a terminal:

```bash
cmake .
make
```

The binary produced will be called `fbfs`.

## Running FBFS

Open a terminal and run FBFS with the following arguments:

```bash
mkdir -p testdir
./fbfs -s -d -f testdir
```

Open a second terminal and enter:

```bash
ls testdir
```



## Paper
If you'd like, you can read the paper that I wrote describing the filesystem
[here].

[here]: paper/final_paper.pdf?raw=true

{'fraction_non_alphanumeric': 0.09480122324159021, 'fraction_numerical': 0.011213047910295617, 'mean_word_length': 4.425414364640884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5028867', 'n_tokens_mistral': 330, 'n_tokens_neox': 298, 'n_words': 130}