NetBSD/sys/coda
martin a326d90b6d Pull up following revision(s) (requested by hannken in ticket #1131):
sys/coda/coda_vnops.c: revision 1.114 (patch)
	sys/coda/coda.h: revision 1.21 (patch)

Rewrite coda_readdir() to directly process the container file.

Passing this operation down to the file system holding the container
cannot work for anything but UFS and UFS doesn't allow reading
directory from a plain file since ~2015.

Fixes PR kern/55775 Coda client, its in-kernel part, opens wrong files ...
2020-11-14 13:01:55 +00:00
..
README
TODO
cnode.h
coda.h Pull up following revision(s) (requested by hannken in ticket #1131): 2020-11-14 13:01:55 +00:00
coda_io.h
coda_namecache.c
coda_namecache.h
coda_opstats.h
coda_pioctl.h
coda_psdev.c
coda_subr.c
coda_subr.h
coda_venus.c
coda_venus.h
coda_vfsops.c
coda_vfsops.h
coda_vnops.c Pull up following revision(s) (requested by hannken in ticket #1131): 2020-11-14 13:01:55 +00:00
coda_vnops.h
files.coda

README

$NetBSD: README,v 1.4 2012/08/04 12:47:00 christos Exp $

Coda is a distributed filesystem.  It is derived from AFS, but
supports disconnected operation, both reading and writing.  This
directory contains the interface between the VFS layer and a
user-space program ("venus") that implements the client part of Coda.
The interface is similar to puffs(9) in many respects.

Coda servers do not need kernel support.

For information on Coda, see
  http://www.coda.cs.cmu.edu

As of Sat Aug  4 15:45:27 EEST 2012
	- The coda/vcoda modules have been tested for read/write
	  operations and load/unload on amd64 with a DEBUG/DIAGNOSTIC
	  kernel and there are no locking errors.
	- If you find issues with coda, please file a bug report.
	  Also help can be obtained via the list codalist@coda.cs.cmu.edu.
	- Pkgsrc/net/coda has the latest source available from cmu and
	  has been fixed to co-exist with openafs (openafs has been modified)

To test:
- Install pkgsrc/net/coda

# rm -fr /var/lib/coda			# remove junk if there was a crash
# /usr/pkg/sbin/venus-setup xxxx	# xxxx the domain name
# /usr/pkg/sbin/venus
# clog guest@testserver.coda.cs.cmu.edu	# password is guest
# echo foo > /coda/testserver.coda.cs.cmu.edu/playground/nb.test0 

You should be able to access things in /coda