dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit 5d9d0158e36b5b3e453a1d074907742447f7682a
parent f36d4e6a287981678625342816f0c18f479e4bdf
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue,  1 Jan 2019 20:28:01 -0500

Add etc/fstab.

* Makefile: Add fstab.
* etc/fstab: New file.

Diffstat:
Makefile | 11+++++++++++
etc/fstab | 4++++
2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -24,6 +24,17 @@ exports: rsync -a etc/exports /etc/exports .PHONY: exports +# Provision fstab +fstab: + while read line; do \ + grep -q "$$line" /etc/fstab || \ + echo $$line >> /etc/fstab; \ + done <etc/fstab + + rcctl reload mountd + mount -a +.PHONY: fstab + # Provision cabal build dir. CABAL_BDIR=/usr/local/cabal/build ${CABAL_BDIR}: diff --git a/etc/fstab b/etc/fstab @@ -0,0 +1,4 @@ +127.0.0.1:/home/s/d/eat/sicp/mitpress.mit.edu/sicp /var/www/html/sicp/ nfs ro,nodev,nosuid 0 0 +127.0.0.1:/home/s/.cached-web /var/www/html/cached-web nfs ro,nodev,nosuid 0 0 +127.0.0.1:/home/s/d/eat/taoup /var/www/html/taoup nfs ro,nodev,nosuid 0 0 +127.0.0.1:/home/s/v/git.ricketyspace.net/vm /var/www/html/vm nfs rw,nodev,nosuid 0 0