==> Regarding Re: [autofs] replicated mounts patch; Jeffrey Layton <[EMAIL PROTECTED]> adds:
jtlayton> On Tue, 2005-04-19 at 12:58, [EMAIL PROTECTED] wrote: >> Does the is_local_addr function work correctly for multi-homed hosts? jtlayton> I changed the name of the is_local_addr() function to jtlayton> is_bind_addr(), but otherwise left it more or less untouched. I jtlayton> did this in anticipation that we will eventually want to make an jtlayton> is_local_addr() function that does the 'subnet' check that the jtlayton> manpage claims. So, the short answer is, yes -- it should work jtlayton> for multi-homed hosts since it essentially does what the original jtlayton> code does here. >> Does the parse_mount_string work for something like: "host1 , host2 >> ,host3, host4:/this/dir"? jtlayton> Yes. I've verified that it does. It even works for relatively jtlayton> strange stuff like: jtlayton> host1(1),host2:/this/dir host3(5):/that/dir jtlayton> Unspecified weights get assigned the value 65535. >From the docs: The numbers in parentheses() indicate a weighting. Servers without a weighting have a value of zero (most likely to be selected). The higher the weighting value, the less chance the server will be selected. Please change accordingly. -Jeff _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs