A simple program for making sure folders are mounted. Eventually.
Stephen Starkey 2c790a4ece Converted to a thread 6 months ago
src/ensure_mounted Converted to a thread 6 months ago
.gitignore First commit 6 months ago
README.md First commit 6 months ago
ensure-mounted First commit 6 months ago
project.clj Some refactoring 6 months ago

README.md

ensure-mounted

A simple program for making sure folders are mounted. Eventually. Meant to be run periodically as a cron job.

Requirements

Deploy to Clojars

lein deploy clojars

Prepare your /etc/fstab

Add the following:

above the first mount point you want to ensure is mounted:

#== ensure-mounted

below the last mount point you want to ensure is mounted:

#== ensure-mounted-end

Install & Run

  1. Install inlein
  2. Run the following: curl https://git.calmabiding.me/scstarkey/ensure-mounted/raw/branch/master/ensure-mounted -o ~/bin/ensure-mounted && chmod +x ~/bin/ensure-mounted
./ensure-mounted