On Thu, 14 Apr 2005, Jeff Moyer wrote: > ==> Regarding Re: [autofs] Re: [ANNOUNCE] Important update - autofs 4.1.4 > release; Ian Kent <[EMAIL PROTECTED]> adds: > > raven> On Thu, 14 Apr 2005, Ian Kent wrote: > >> On Wed, 13 Apr 2005, Jeff Moyer wrote: > >> > >> > > >> > This new version has regressed since beta2 for /net mounts in my > >> environment. A simple ls of /net/<filer> will now show the contents of > >> > /net/<filer>/exporteddir. So, for example, we have devfiler which > >> exports /vol/vol1. When I do an ls of /net/devfiler, I get the > >> contents of devfiler:/vol/vol1. > >> > > >> > Okay, after further debugging, it seems we're not identifying this as > >> a multimount entry. It's getting late, so I'm going to turn this over > >> to you. I think that the checking of first_chunk is bogus. For > >> instance, with the below change, everything works as expected for me. > >> > >> > >> Cool, I'll check this out and get back. > > raven> Could I have the example map entry that breaks the parse please. > > Sheesh, you'd think that I could generate a bug report by now... I'll blame > it on the late night thing. =) > > This is an auto.net entry. Here's what auto.net spits out for this > particular host: > > -fstype=nfs,hard,intr,nodev,nosuid \ > /vol/vol1 devfiler:/vol/vol1 > > I'm guessing you didn't test auto.net against a host that only exported one > dir? Just a guess. Below are the debug logs. >
That's exactly right, I missed that edge case. I did actually guess that and the above confirms it. I know exaclty how I'd like to handle it but I haven't had time to generte a patch. I'll try to find time at work today but I've got heaps of "work" stuff to do. Of course it's Friday here so doing it tonight not looking to good either. Oh well I'll get to it. Ian _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs