==> Regarding Re: [autofs] [PATCH] check nsswitch.conf for submounts; [EMAIL PROTECTED] adds:
raven> On Wed, 23 Feb 2005, Chris Feist wrote: Thanks Chris. raven> This is a really useful bit of code. Appart from addressing the raven> default map problem, it is one of the pieces of code needed to move raven> logic out of the init script. raven> Howerver, we can't assume that maps are stored in "/etc". This raven> really should be a configure logical. And why not? Is this not precisely what the Sun automounter does? -Jeff >> This patch addresses the problem if a user has the following in one of >> their automount maps: # auto.misc test -fstype=autofs auto.m2 >> >> Before it would automatically assume that auto.m2 was a yp/nis map. The >> patch now checks if the file exists in /etc/ (and if it's a file or >> program map) or if it exists in yp (according to the order in >> nsswitch.conf). >> >> In the future we may want to include functionality in the lookup_xxx.so >> modules so we can more easily detect if a certain map exists. >> >> Thanks, Chris >> >> raven> _______________________________________________ autofs mailing list raven> [email protected] raven> http://linux.kernel.org/mailman/listinfo/autofs _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
