git: 9front

Download patch

ref: 9ce72bb7d6906e7550fb2c611a1cb99ab3be75c7
parent: 19d7ba2c8d9e53dafef81a4ea21bf3064e9a3ed2
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Jun 11 10:22:59 EDT 2011

inst: dont create /n/other/dist, keep /dist in main storage

--- a/rc/bin/inst/mountcwfs
+++ b/rc/bin/inst/mountcwfs
@@ -80,7 +80,7 @@
 			} >/tmp/fsconfig
 		}
 		echo 'Reaming filesystem'
-		if(! $fstype -f $fs -c </tmp/fsconfig){
+		if(! $fstype -f $fs -C -c </tmp/fsconfig){
 			mountfs=ready
 			export mountfs
 			exit oops
@@ -111,7 +111,6 @@
 		echo newuser upas +$user
 		if(! ~ $fsother ''){
 			echo cfs other
-			echo create /dist sys sys 775 d
 			echo create /usr sys sys 775 d
 			echo create /usr/$user $user $user 775 d
 			echo create /usr/$user/tmp $user $user 750 d
@@ -126,8 +125,7 @@
 		sleep 2
 	if(! ~ $fsother ''){
 		log Mounting $fstype file server for $fsother
-		if(logprog mount -c /srv/$service /n/other other)
-			bind -qc /n/other/dist /n/newfs/dist
+		logprog mount -c /srv/$service /n/other other
 	}
 
 case checkready checkdone
--