|
|
ab3a3d |
autofs-5.0.7 - depricate nosymlink pseudo option
|
|
|
ab3a3d |
|
|
|
ab3a3d |
From: Ian Kent <raven@themaw.net>
|
|
|
ab3a3d |
|
|
|
ab3a3d |
The undocumented "nosymlink" option was the only way to force local
|
|
|
ab3a3d |
NFS mounting until the more descriptive "nobind" option was added.
|
|
|
ab3a3d |
|
|
|
ab3a3d |
So depricate the "nosymlink" option in favour of the "nobind" option.
|
|
|
ab3a3d |
---
|
|
|
ab3a3d |
CHANGELOG | 1 +
|
|
|
ab3a3d |
modules/mount_nfs.c | 4 ++++
|
|
|
ab3a3d |
2 files changed, 5 insertions(+)
|
|
|
ab3a3d |
|
|
|
ab3a3d |
diff --git a/CHANGELOG b/CHANGELOG
|
|
|
ab3a3d |
index a7ed212..c189483 100644
|
|
|
ab3a3d |
--- a/CHANGELOG
|
|
|
ab3a3d |
+++ b/CHANGELOG
|
|
|
ab3a3d |
@@ -31,6 +31,7 @@
|
|
|
ab3a3d |
- dont fail on master map self include.
|
|
|
ab3a3d |
- fix wildcard multi map regression.
|
|
|
ab3a3d |
- fix file descriptor leak when reloading the daemon.
|
|
|
ab3a3d |
+- depricate nosymlink pseudo option.
|
|
|
ab3a3d |
|
|
|
ab3a3d |
25/07/2012 autofs-5.0.7
|
|
|
ab3a3d |
=======================
|
|
|
ab3a3d |
diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c
|
|
|
ab3a3d |
index bbbb1de..e61320b 100644
|
|
|
ab3a3d |
--- a/modules/mount_nfs.c
|
|
|
ab3a3d |
+++ b/modules/mount_nfs.c
|
|
|
ab3a3d |
@@ -125,6 +125,10 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name, int
|
|
|
ab3a3d |
|
|
|
ab3a3d |
o_len = end - cp + 1;
|
|
|
ab3a3d |
if (strncmp("nosymlink", cp, o_len) == 0) {
|
|
|
ab3a3d |
+ warn(ap->logopt, MODPREFIX
|
|
|
ab3a3d |
+ "the \"nosymlink\" option is depricated "
|
|
|
ab3a3d |
+ "and will soon be removed, "
|
|
|
ab3a3d |
+ "use the \"nobind\" option instead");
|
|
|
ab3a3d |
nosymlink = 1;
|
|
|
ab3a3d |
} else if (strncmp("nobind", cp, o_len) == 0) {
|
|
|
ab3a3d |
nobind = 1;
|