From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200312081930.hB8JUsl28107@augusta.math.psu.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] Installed Plan 9, now what? In-Reply-To: Your message of "Mon, 08 Dec 2003 08:10:24 MST." From: Dan Cross Date: Mon, 8 Dec 2003 14:30:54 -0500 Topicbox-Message-UUID: 9cd6d168-eacc-11e9-9e20-41e7f4b1d025 andrey mirtchovski writes: > > On Mon, 8 Dec 2003, David Presotto wrote: > > > fn clientmount { echo 'srv -AWP replica'>>/srv/fscons;chmod 600 /srv/replica; mount -c /srv/replica /n/kfs } > > > > why not just add that to the /dist/replica/network script on sources? with > appropriate checks whether the system is running kfs or fossil and whether > $user can write to /srv/fscons we won't need to worry about it too much. > > i can send you a sample script for that. > > can you explain the chmod 600? it appears that /srv/replica is 600 already > after the srv command is issued... I'll propose again that replica scripts attempt to dot a script called /dist/replica/site which could override things like the clientmount function for dfferent sites. - Dan C.