Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > mergerfs

mergerfs is a union filesystem geared towards simplifying storage and management of files across numerous commodity storage devices.


mergerfs is installed by default. Userland installation instructions follow.

  1. Connect to your slot through SSH

  2. Clone the mergerfs repository and change to its directory

     git clone https://github.com/trapexit/mergerfs.git; cd mergerfs
  3. Edit both Makefile and libfuse/Makefile to change /usr/local to /home/user. The following command will make the appropriate edits for you:

     sed -i 's|/usr/local|/home/user|g' Makefile
  4. Compile and install mergerfs.

     make; make install; rm ~/bin/mergerfs-fusermount
  5. (Optional) Add ~/bin to your PATH so that you can run binaries in ~/bin without specifying the path. Ignore this step if you have performed it for a different program.

     echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc

You can now run ~/bin/mergerfs (or mergerfs if the optional step is completed) to use the program.