[fedfs-utils] [PATCH 0/3] Introduce nfsref command and mountd plug-in

Chuck Lever chuck.lever at oracle.com
Thu Jan 12 08:32:54 PST 2012


Now that all the pre-requisites are in place, here are the two major
new pieces of functionality for fedfs-utils 0.8:

The nfsref command provides a simple way to manage junctions on a
Linux file server.  It is modelled after the Solaris command of the
same name.  It can create or delete both NFS basic junctions (where
the FS locations are stored right in the junction) and FedFS junctions
(where the FS locations are stored on a nearby LDAP server).

The nfs-plugin library is loaded by mountd when the kernel NFSD wants
to resolve a local junction.  The library can recognize and handle
both NFS basic junctions and FedFS junctions.  It brings in all the
external dependencies it needs so that nfs-utils itself does not carry
dependencies on LDAP, XML, or sqlite.

Review period ends EOB Thursday, January 19th.  The following day I
plan to post the remaining patches that make up the first 0.8 release
candidate.  A secure git repo should be available by then for the
release of fedfs-utils-0.8.0 .

---

Chuck Lever (3):
      resolve-junction: Remove the resolve-junction command
      plugin: Introduce the junction plug-in API
      nfsref: Introduce the "nfsref" command


 .gitignore                       |    1 
 INSTALL                          |   25 +-
 configure.ac                     |    3 
 doc/man/Makefile.am              |    2 
 doc/man/nfsref.8                 |  283 +++++++++++++++++
 src/Makefile.am                  |    4 
 src/include/Makefile.am          |    1 
 src/include/nfs-plugin.h         |   96 ++++++
 src/nfsref/Makefile.am           |   41 +++
 src/nfsref/add.c                 |  620 ++++++++++++++++++++++++++++++++++++++
 src/nfsref/lookup.c              |  410 +++++++++++++++++++++++++
 src/nfsref/nfsref.c              |  187 +++++++++++
 src/nfsref/nfsref.h              |   43 +++
 src/nfsref/remove.c              |  163 ++++++++++
 src/plug-ins/Makefile.am         |   41 +++
 src/plug-ins/nfs-plugin.c        |  567 +++++++++++++++++++++++++++++++++++
 src/resolve-junction/Makefile.am |   43 ---
 src/resolve-junction/main.c      |  462 ----------------------------
 src/resolve-junction/privilege.c |  147 ---------
 src/resolve-junction/privilege.h |   31 --
 20 files changed, 2481 insertions(+), 689 deletions(-)
 create mode 100644 doc/man/nfsref.8
 create mode 100644 src/include/nfs-plugin.h
 create mode 100644 src/nfsref/Makefile.am
 create mode 100644 src/nfsref/add.c
 create mode 100644 src/nfsref/lookup.c
 create mode 100644 src/nfsref/nfsref.c
 create mode 100644 src/nfsref/nfsref.h
 create mode 100644 src/nfsref/remove.c
 create mode 100644 src/plug-ins/Makefile.am
 create mode 100644 src/plug-ins/nfs-plugin.c
 delete mode 100644 src/resolve-junction/Makefile.am
 delete mode 100644 src/resolve-junction/main.c
 delete mode 100644 src/resolve-junction/privilege.c
 delete mode 100644 src/resolve-junction/privilege.h

-- 
Chuck Lever



More information about the fedfs-utils-devel mailing list