Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751158AbWHPMsm (ORCPT ); Wed, 16 Aug 2006 08:48:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751157AbWHPMsm (ORCPT ); Wed, 16 Aug 2006 08:48:42 -0400 Received: from ihug-mail.icp-qv1-irony3.iinet.net.au ([203.59.1.197]:24996 "EHLO mail-ihug.icp-qv1-irony3.iinet.net.au") by vger.kernel.org with ESMTP id S1751158AbWHPMsl (ORCPT ); Wed, 16 Aug 2006 08:48:41 -0400 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.08,132,1154880000"; d="scan'208"; a="903549149:sNHT7283570536" Subject: Re: 2.6.18-rc4-mm1 From: Ian Kent To: David Howells Cc: Andrew Morton , linux-kernel@vger.kernel.org, Trond Myklebust In-Reply-To: <29660.1155720852@warthog.cambridge.redhat.com> References: <20060815114912.d8fa1512.akpm@osdl.org> <20060815104813.7e3a0f98.akpm@osdl.org> <20060815065035.648be867.akpm@osdl.org> <20060814143110.f62bfb01.akpm@osdl.org> <20060813133935.b0c728ec.akpm@osdl.org> <20060813012454.f1d52189.akpm@osdl.org> <10791.1155580339@warthog.cambridge.redhat.com> <918.1155635513@warthog.cambridge.redhat.com> <29717.1155662998@warthog.cambridge.redhat.com> <6241.1155666920@warthog.cambridge.redhat.com> <29660.1155720852@warthog.cambridge.redhat.com> Content-Type: text/plain Date: Wed, 16 Aug 2006 20:36:53 +0800 Message-Id: <1155731813.21903.14.camel@raven.themaw.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1284 Lines: 34 On Wed, 2006-08-16 at 10:34 +0100, David Howells wrote: > Andrew Morton wrote: > .... > What is going on here????????????????????????????????????????????????????? > > stracing the automount daemon, I see: > > [pid 3803] mkdir("/net", 0555) = -1 EEXIST (File exists) > [pid 3803] stat64("/net", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 > [pid 3803] mkdir("/net/trash", 0555) = -1 EEXIST (File exists) > [pid 3803] stat64("/net/trash", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 > [pid 3803] mkdir("/net/trash/usr", 0555) = -1 EACCES (Permission denied) > > I think that would be the problem. Ian? I guess, but it's also possible that multi-entry mounts similar to those generated by the auto.net script need mount point directories created. The same code is used for all. I guess that I could check if the fs is autofs4 and only mount the mounts for directories that exist, as I do in v5. However, people may have come to rely on this so it would be a regression, for v4 at least. Thoughts? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/