summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-06-11 14:22:59 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-06-11 14:22:59 +0000
commitaeb62668546acd1c467a1190cf8a3c03a7b098e5 (patch)
treee6c1a10d84bc12d4a2f9cee15e842009cb1f82e1
parent67bb0a2c7a9ae7b197932e5b3ff3ad48ee39eab5 (diff)
downloadplan9front-aeb62668546acd1c467a1190cf8a3c03a7b098e5.tar.xz
inst: dont create /n/other/dist, keep /dist in main storage
-rwxr-xr-xrc/bin/inst/mountcwfs6
1 files changed, 2 insertions, 4 deletions
diff --git a/rc/bin/inst/mountcwfs b/rc/bin/inst/mountcwfs
index 3a917b7bc..b92abf9e2 100755
--- a/rc/bin/inst/mountcwfs
+++ b/rc/bin/inst/mountcwfs
@@ -80,7 +80,7 @@ case go
} >/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 @@ case go
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 @@ case go
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