On Fri, 29 Apr 2005, Jeff Moyer wrote:

This is apparently a legal format for a multi-mount map:

g3b     segfault.boston.redhat.com:/export/automount/export5/testing/test \
       /s1     segfault.boston.redhat.com:/export/automount/export2 \
       /s2     segfault.boston.redhat.com:/export/automount/export3

The first entry is an implied root level entry, or '/'.  Solaris handles
this case just fine, and the automounter test sweet uses this as one of its
tests.  The attached patch causes this map format to be recognized.  I
think the patch could probably re-use the memory allocatd for "path" by the
dequote function.  That's up to you, Ian, if you want to change that to be
a little prettier.

I've already placed a patch on kernel.org for that.
Check out autofs-4.1.4-multi-parse-fix.patch and let me know what you think.


It also addresses the multi-mount recognition problem you mentioned a short while ago.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to