Jeff Moyer wrote: > Ondrej Valousek <[email protected]> writes: > >> Hi Ian / all, >> >> Is there any way to make automounter dump maps it sees? I was just >> thinking about it - with files / NIS / program backend it is not much >> needed but it could be quite helpful with ldap backend - restarting >> automounter with verbose logging is not too practical in the >> production environment. >> >> I would imagine either some small standalone program using autofs >> internals which would dump all (or certain specified) maps or running >> a second instance of autofs (with some parameter) which would not >> mount anything and just dump the maps and exits. >> >> Is this a completely misplaced idea or is there a way to achieve this >> functionality now? > > Well, back in the autofs4 days, when way too much logic was put into the > init script, we basically had to do this. ;-) See the --dumpmap switch > in v4. I can see that it could be a useful aid for administrators to > ensure that their maps look like they think they do, especially with > nsswitch and included maps, and those pesky null maps.
Well, there you go. This sounds like a +1 in favour to me. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
