freebsd-skq/sys/coda
Robert Watson a64ed08955 Introduce extended attribute support for FFS, allowing arbitrary
(name, value) pairs to be associated with inodes.  This support is
used for ACLs, MAC labels, and Capabilities in the TrustedBSD
security extensions, which are currently under development.

In this implementation, attributes are backed to data vnodes in the
style of the quota support in FFS.  Support for FFS extended
attributes may be enabled using the FFS_EXTATTR kernel option
(disabled by default).  Userland utilities and man pages will be
committed in the next batch.  VFS interfaces and man pages have
been in the repo since 4.0-RELEASE and are unchanged.

o ufs/ufs/extattr.h: UFS-specific extattr defines
o ufs/ufs/ufs_extattr.c: bulk of support routines
o ufs/{ufs,ffs,mfs}/*.[ch]: hooks and extattr.h includes
o contrib/softupdates/ffs_softdep.c: extattr.h includes
o conf/options, conf/files, i386/conf/LINT: added FFS_EXTATTR

o coda/coda_vfsops.c: XXX required extattr.h due to ufsmount.h
(This should not be the case, and will be fixed in a future commit)

Currently attributes are not supported in MFS.  This will be fixed.

Reviewed by:	adrian, bp, freebsd-fs, other unthanked souls
Obtained from:	TrustedBSD Project
2000-04-15 03:34:27 +00:00
..
00READ Update 1998-10-28 19:39:12 +00:00
cnode.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_fbsd.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
coda_io.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_kernel.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_namecache.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_namecache.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_opstats.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_pioctl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_psdev.c sigset_t change (part 2 of 5) 1999-09-29 15:03:48 +00:00
coda_psdev.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_subr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_subr.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_venus.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_venus.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_vfsops.c Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
coda_vfsops.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda_vnops.c Introduce NDFREE (and remove VOP_ABORTOP) 1999-12-15 23:02:35 +00:00
coda_vnops.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
coda.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
README Pass2 complete 1998-09-02 19:09:53 +00:00
TODO Pass2 complete 1998-09-02 19:09:53 +00:00

                Announcing the Availability of the
                        Coda Distributed
                           Filesystem
                              for
                         BSD Unix Systems

        Coda is a distributed file system like NFS and AFS.  It is
freely available, like NFS.  But it functions much like AFS in being a
"stateful" file system.  Coda and AFS cache files on your local
machine to improve performance.  But Coda goes a step further than AFS
by letting you access the cached files when there is no available
network, viz. disconnected laptops and network outages.  In Coda, both
the client and server are outside the kernel which makes them easier
to experiment with.

To get more information on Coda, I would like to refer people to
        http://www.coda.cs.cmu.edu
There is a wealth of documents, papers, and theses there.  There is
also a good introduction to the Coda File System in
        http://www.coda.cs.cmu.edu/ljpaper/lj.html

Coda was originally developed as an academic prototype/testbed.  It is
being polished and rewritten where necessary.  Coda is a work in
progress and does have bugs.  It is, though, very usable.  Our
interest is in making Coda available to as many people as possible and
to have Coda evolve and flourish.

The bulk of the Coda file system code supports the Coda client
program, the Coda server program and the utilities needed by both.
All these programs are unix programs and can run equally well on any
Unix platform.  Our main development thrust is improving these
programs.  There is a small part of Coda that deals with the kernel to
file system interface.  This code is OS specific (but should not be
platform specific).

Coda is currently available for several OS's and platforms:
        Freebsd-2.2.5: i386
        Freebsd-2.2.6: i386
	Freebsd -current: i386
        linux 2.0: i386 & sparc
        linux 2.1: i386 & sparc
        NetBSD 1.3: i386
	NetBSD -current: i386
The relevant sources, binaries, and docs can be found in
        ftp://ftp.coda.cs.cmu.edu/pub/coda/

We intend to come out with new Coda releases often, not daily.  We
don't want to slight any OS/platform not mentioned above.  We are just
limited in our resources as to what we can support internally.  We
will be happy to integrate OpenBSD support as well as other OS
support.  Also, adding platform support should be relatively easy and
we can discuss this.  The only difficulty is that Coda has a light weight
process package.  It does some manipulations in assembler which would
have to be redone for a different platform.

There are several mailing lists @coda.cs.cmu.edu that discuss coda:
coda-announce and linux-coda.  We are going to revise linux-coda to be
OS neutral, since it is mainly Coda we want to discuss.  We appreciate
comments, feedback, bug reports, bug fixes, enhancements, etc.