9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Skip Tavakkolian" <skip@9netics.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] update via replica/pull
Date: Wed, 24 Mar 2004 09:32:53 -0800	[thread overview]
Message-ID: <687c4bf5db7647a2686a17dc776af2b3@9netics.com> (raw)
In-Reply-To: <42651da6b45efb5ab911f10cad609387@mteege.de>

> I don't use a local KFS. I use an "old style" fileserver. Pull gives me
> 

If you mean kenfs, you'll need to modify your /dist/replica/network.
I've included mine as a sample. May not fit your need exactly:

cpu% cat /dist/replica/network
#!/bin/rc
 
s=/n/dist/dist/replica
serverroot=/n/dist
serverlog=$s/plan9.log
serverproto=$s/plan9.proto
fn servermount {
	srv tcp!sources.cs.bell-labs.com sources /n/sources
	bind /n/sources/plan9 /n/dist
}
fn serverupdate { status='' }

fn clientmount { 9fs il!fs /n/fs }
c=/n/fs/dist/replica
clientroot=/n/fs
clientdb=$c/client/plan9.db
clientexclude=(dist/replica/client)
clientlog=$c/client/plan9.log

# applyopt=(-u -T$c/client/plan9.time)
# remove the -u so we can do the pulls with somebody who is
# a member of sys
applyopt=(-T$c/client/plan9.time)


> I think I must disable permission checking on the
> fileserver.
> 
> Matthias

For permission checking either add yourself to sys group
or do allow on the fs console. Check Russ' response to similar
questions in the past at groups.google.com (comp.os.plan9)



  reply	other threads:[~2004-03-24 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-24 16:35 Matthias Teege
2004-03-24 16:48 ` andrey mirtchovski
2004-03-24 16:53 ` Russ Cox
2004-03-24 17:13   ` Matthias Teege
2004-03-24 17:32     ` Skip Tavakkolian [this message]
2004-03-25  6:10       ` Matthias Teege
2004-03-25  6:13         ` Charles Forsyth
2004-03-24 17:33     ` Steve Simon
2004-03-24 23:52   ` Geoff Collyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=687c4bf5db7647a2686a17dc776af2b3@9netics.com \
    --to=skip@9netics.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).