> Further down in the map there are other file servers used for home
> directories, and we'd like to keep a consistant name space when directories
> move around for different projects/space reasons.
>
> There are no syslog messages. I'm thinking it may be an error w/ how the map
> is parsed. Does the daemon look for an extra deliminator between entries?
>
It looks like the problem is whitespace after the '\' makes the file module
think there are more options yet to be parsed, and doesn't skip to next_char.
if ( ch == '\\' ) {
/* Handle continuation lines */
if ( (nch = getc(f)) == '\n' )
goto next_char;
ungetc(nch,f);
escape = esc_char;
}
Putting a quick and dirty fix to disregard anything after a '\ ' fixed that in
my case.
The next problem when dealing with multiline entries is everything attempts to
mount itself. Granted it's unmounted immediately when it's not used, but going
into /fs2/nfshomes/user when there at 75 entries in the nfshomes line tends to
have a bit of overhead. It appears that when 'cd /fs2/nfshomes/toaster' is
processed, the entire multiline for nfshomes is passed to the parse_mount in
the sun module and everything gets mounted. Would it be possible to put some
logic in place so that only the final directory that one cares about gets
mountes?
Thanks,
-Mike
_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs