`uname -a' can't display revision

KIRIYAMA Kazuhiko kiri at truefc.org
Wed Aug 21 02:59:52 UTC 2019


On Wed, 21 Aug 2019 04:49:09 +0900,
Peter Jeremy wrote:
> 
> [1  <text/plain; iso-8859-1 (quoted-printable)>]
> On 2019-Aug-20 14:36:14 +0200, Trond Endrestøl <trond.endrestol at ximalas.info> wrote:
> >Maybe NFS is to blame, particularly if file locks cannot be obtained.
> 
> Yes, it is.  SVN tries to obtain locks, even for read-only commands like
> "svn info".  My solution is to mount /usr/src with the option "nolockd".

That it is! Add nolockd option to fstab and `uname -a' put
fine:

admin at tbedfs:~ % uname -a
FreeBSD tbedfs 12.0-STABLE FreeBSD 12.0-STABLE #0 r351318: Wed Aug 21 11:06:40 JST 2019     root at tbedfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
admin at tbedfs:~ % cat /etc/fstab
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/vtbd0p2    /               ufs     rw      1       1
/dev/vtbd0p3    none            swap    sw      0       0
vm.tfc:/.dake   /.dake          nfs     rw      0       0
vm.tfc:/ds/src/stable/12/r351318        /usr/src        nfs     ro,nolockd      0       0
vm.tfc:/ds/obj/stable/12/r351318        /usr/obj        nfs     rw      0       0
admin at tbedfs:~ % 

Thanks for your help!
---
KIRIYAMA Kazuhiko
> 
> -- 
> Peter Jeremy
> [2 signature.asc <application/pgp-signature (7bit)>]
> 


More information about the freebsd-stable mailing list