From c333db3fafbdde994254c7d0ae773e7b587145c4 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 29 Mar 2011 10:41:03 -0700 Subject: [PATCH] Add dev-cammount helper. --- dev-cammount | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 dev-cammount diff --git a/dev-cammount b/dev-cammount new file mode 100755 index 000000000..2bee8bdca --- /dev/null +++ b/dev-cammount @@ -0,0 +1,17 @@ +#!/bin/sh + +set -x +set -e + +DIR=/tmp/cammount-dir +mkdir -p $DIR + +./build.pl cammount + +(fusermount -u $DIR) || true +clients/go/cammount/cammount --blobserver=localhost:3179 --password=pass3179 $@ $DIR & +sleep 1 +cd $DIR +bash +cd / +fusermount -u $DIR