From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <001001c3bdd0$3a91b260$6f096887@bl.belllabs.com> From: "david presotto" To: <9fans@cse.psu.edu> References: <200312081930.hB8JUsl28107@augusta.math.psu.edu> Subject: Re: [9fans] Installed Plan 9, now what? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Mon, 8 Dec 2003 16:14:12 -0500 Topicbox-Message-UUID: 9cdaca5c-eacc-11e9-9e20-41e7f4b1d025 Isn't that what /dist/replica/network is? How many times indirects shall we go before we get to the file we're allowed to change. Andrey's script is fine by me. It gets it right in more cases than the old one. If you dinna like, it, replace it with your own. ----- Original Message ----- From: "Dan Cross" To: <9fans@cse.psu.edu> Sent: Monday, December 08, 2003 2:30 PM Subject: Re: [9fans] Installed Plan 9, now what? > 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. > >