Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 533aea79872ccd7be2635d272acbf7ea > files > 212

autofs-5.0.1-0.rc2.163.el5.src.rpm

autofs-5.0.1 - use misc device

From: Ian Kent <raven@themaw.net>

Change default installed configuration to use the misc device ioctl
interface if available.
---

 redhat/autofs.sysconfig.in     |    2 +-
 samples/autofs.conf.default.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


--- autofs-5.0.1.orig/redhat/autofs.sysconfig.in
+++ autofs-5.0.1/redhat/autofs.sysconfig.in
@@ -100,7 +100,7 @@ BROWSE_MODE="no"
 # If the kernel supports using the autofs miscellanous device
 # and you wish to use it you must set this configuration option
 # to "yes" otherwise it will not be used.
-#USE_MISC_DEVICE="no"
+USE_MISC_DEVICE="yes"
 #
 #OPTIONS=""
 #
--- autofs-5.0.1.orig/samples/autofs.conf.default.in
+++ autofs-5.0.1/samples/autofs.conf.default.in
@@ -100,7 +100,7 @@ BROWSE_MODE="no"
 # If the kernel supports using the autofs miscellanous device
 # and you wish to use it you must set this configuration option
 # to "yes" otherwise it will not be used.
-#USE_MISC_DEVICE="no"
+USE_MISC_DEVICE="yes"
 #
 #OPTIONS=""
 #