On Tue, 2006-11-14 at 10:00 +0000, Gordon Lack wrote: > Ian Kent wrote: > > > > I'd like to find a simple way to accommodate this while retaining the > > multiple map functionality. > > Fine by me. Bear in mind that the map-name (the bit I'm suggesting > should be added to /proc/mounts) will be different. eg: from your > original example: > > /home /etc/auto.server1.home > /home /etc/auto.server2.home > > So we'd end up with 2 lines in /proc/mounts: > > /etc/auto.server1.home /home autofs .... > /etc/auto.server2.home /home autofs ....
We would need to do something different as there will only ever be one mount and so only one line in /proc/mounts. Perhaps something like: /etc/auto.server1.home,/etc/auto.server2.home /home autofs .... and that could be further simplified by using nsswitch with "files" as a source (you know they will be in /etc if not otherwise specified): auto.server1.home,auto.server2.home /home autofs .... > > (I think...although whether the patch I sent is sufficient to achieve > that I don't know) > Well no, but it's fairly straight forward. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
