ref: aeb62668546acd1c467a1190cf8a3c03a7b098e5
parent: 67bb0a2c7a9ae7b197932e5b3ff3ad48ee39eab5
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