dot

packages and services management
Log | Files | Refs | README

commit 05bbf0247111252810a4a62ec56b0ffbcb47b51a
parent 832e2307f826d698188c5b6a5c0c61f120e0b75e
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 30 Mar 2018 16:54:27 +0200

add remote mount service for 9pfs

Diffstat:
Arun/9pfs/run | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/run/9pfs/run b/run/9pfs/run @@ -0,0 +1,13 @@ +#!/bin/sh -e + +# forward u9fs from a remote host to a local socket through ssh + +socket="/tmp/9pfs" +mountp="$HOME/var/9p" + +exec 2>&1 + +IFS='' read -r host <host +IFS='' read -r path <path + +exec unixserver /tmp/9pfs ssh "$host" u9fs -l /dev/stderr "'$path'"