24 lines
877 B
Diff
24 lines
877 B
Diff
|
support/export/export.c | 2
|
||
|
support/include/misc.h | 3
|
||
|
support/include/nfslib.h | 1
|
||
|
support/misc/mountpoint.c | 158 +++++++++++++++++++++++++++++++++++++++++++++-
|
||
|
support/nfs/exports.c | 7 ++
|
||
|
utils/mountd/cache.c | 11 +--
|
||
|
utils/mountd/mountd.c | 7 +-
|
||
|
utils/mountd/mountd.h | 9 ++
|
||
|
8 files changed, 187 insertions(+), 11 deletions(-)
|
||
|
|
||
|
Index: nfs-utils-1.0.7/support/nfs/exports.c
|
||
|
===================================================================
|
||
|
--- nfs-utils-1.0.7.orig/support/nfs/exports.c
|
||
|
+++ nfs-utils-1.0.7/support/nfs/exports.c
|
||
|
@@ -435,6 +435,8 @@ bad_option:
|
||
|
ep->e_mountpoint = strdup(mp+1);
|
||
|
else
|
||
|
ep->e_mountpoint = strdup("");
|
||
|
+ } else if (strncmp(opt, "bind=/", 6) == 0) {
|
||
|
+ /* ignore this for now */
|
||
|
} else {
|
||
|
xlog(L_ERROR, "%s:%d: unknown keyword \"%s\"\n",
|
||
|
flname, flline, opt);
|