Plan 9 from Bell Labs’s /usr/web/sources/contrib/yk/lab/unix9/rfs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
#
# To publish: cp $% /n/sources/contrib/yk/lab/unix9/

rfork e

fs = $1
mnt = $2
if(~ $#mnt 0)
	mnt = /n/`{echo $fs | sed 's/.*@//'}

test -e /srv/$fs.$user &&
	mount -n /srv/$fs.$user $mnt &&
	exit
exec sshfs -s $fs.$user -r / -m $mnt $fs

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].