kern.ostype - where gets its value?

Milan Obuch freebsd-hackers at dino.sk
Mon Feb 27 12:01:43 UTC 2017


On Sun, 26 Feb 2017 16:05:41 +0200
Daniel Braniss <danny at cs.huji.ac.il> wrote:

> > On 26 Feb 2017, at 15:06, Milan Obuch <freebsd-hackers at dino.sk>
> > wrote:
> > 
> > On Sun, 26 Feb 2017 12:47:42 +0000
> > Daniel Shahaf <danielsh at apache.org> wrote:
> >   
> >> Milan Obuch wrote on Sun, Feb 26, 2017 at 13:25:48 +0100:  
> >>> From my experience it looks like this problem is caused by svn not
> >>> being able to be run on nfs mounted directory, no matter the
> >>> architecture - today I tried with both server and client running
> >>> 10.3-STABLE on i386, svn just fails.    
> >> 
> >> svn can work over nfs provided that locking is supported.
> >>   
> > 
> > How could I find whether locking is supported/make sure it is?  
> you need to run rpc_lockd on both server & client
> (rpc_lockd_enable=yes in rc.conf) probably also rpc_statd too.
> 

Thanks, I took another solution - mount /usr/src read only with option
nolockd. I verified 'svnliteversion /usr/src' command gives correct
results on both arm and arm64 (I tested it on my Mac NFS with i386 and
amd64 as well, this was another trouble solvable the same way for me).

So next kernel should have correct svn revision now...

Regards,
Milan


More information about the freebsd-hackers mailing list