From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/2] vfs: make real_lookup do dentry revalidation with Date: Sun, 25 Oct 2009 03:45:01 -0400 Message-ID: <20091025074501.GB9482@infradead.org> References: <20090923232844.GA22153@llnl.gov> <4ABAEC9F.4020607@themaw.net> <20090924070051.GL14381@ZenIV.linux.org.uk> <4ABB2178.3090500@themaw.net> <4ACC1360.9030007@themaw.net> <4AD538A4.9090609@themaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff Moyer , Al Viro , Jim Garlick , linux-fsdevel@vger.kernel.org, Sage Weil , "H. Peter Anvin" , Christoph Hellwig To: Ian Kent Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:55302 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744AbZJYHpF (ORCPT ); Sun, 25 Oct 2009 03:45:05 -0400 Content-Disposition: inline In-Reply-To: <4AD538A4.9090609@themaw.net> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Oct 14, 2009 at 10:34:12AM +0800, Ian Kent wrote: > Some time ago Christoph suggested registering both autofs and autofs4 > but I'm not sure about that since both modules have always only > registered autofs as the file system name. Oops, I didn't notice that. > We can add a MODULE_ALIAS() to the module source but that doesn't > completely work, I think because the user space tools then don't get the > directory right. Changing the user space configuration is also > problematic because booting from a kernel with and without would require > a configuration change every time. > > The obvious simple solution would be to use symlinks to make the > directory and module appear to be present, set about a process of user > awareness and remove them after some pre-defined number of subsequent > releases but I'm not sure how that approach would be received? We could > even write a module stub that issues a warning message to syslog and > then loads the autofs module but I haven't tried that yet. > > Please, folks, some suggestions. Just build two modules using the same source code? That quite ugly, but if the userspace is really that messed up I can't think of any better idea.