Plan 9 from Bell Labs’s /usr/web/sources/contrib/akumar/cmd/l/fs

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


#!/bin/rc

# connect with `con -C /srv/sprwcons'
# change the last line to reflect personal setup

ps | grep cwfs.fs64 | pids=`{ awk '{print $2}'}

if(! ~ $#pids 0){
	if(test -f /srv/sprwcons){
		echo -n con -C /srv/sprwcons
		echo ' # running' $#pids procs
	}
	if not echo error: running standalone
	exit running
}

if(test -f /srv/sprwcons)
	echo 'rm /srv/sprwcons'
echo 'srv -e ''cwfs.fs64 -m '$home'/lib/cwfs.map w0'' sprwcons'

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].