Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/lib/dist/setup

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


#!/bin/rc
# setup - prep for the mkfile
. ./defs

9fs sources
9fs other
9fs outfsother

if (test -e /cfg/$sysname/config)
	.   /cfg/$sysname/config
if not {
	outsys=outside
	out=$outsys.cs.bell-labs.com
	outfs=outfs		# outside is a client of outfs
}

# for some reason, -c doesn't actually enable creation
#import -c tcp!$out!666 $dist/web.protect
#if (! test -e $dist/web.protect/plan9.iso) {
#	echo import web.protect failed: $dist/web.protect/plan9.iso missing \
#		>[1=2]

	bind -c /n/outfsother/web.protect $dist/web.protect	# HACK
	if (! test -e $dist/web.protect/plan9.iso) {
		echo bind outfsother failed: $dist/web.protect/plan9.iso \
			missing >[1=2]
		exit no-web-protect
	}
#}

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