Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754870Ab2BWByv (ORCPT ); Wed, 22 Feb 2012 20:54:51 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38540 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754691Ab2BWByt (ORCPT ); Wed, 22 Feb 2012 20:54:49 -0500 X-Sasl-enc: 0lzKukBJbVVjXzU9q+oD8jp+ywFxO6UUjB5iJNTH9GcrS05lT1a70W2V8g 1329962088 Message-ID: <1329962085.2244.10.camel@perseus.themaw.net> Subject: Re: compat: autofs v5 packet size ambiguity - update From: Ian Kent To: Linus Torvalds Cc: David Miller , linux-kernel@vger.kernel.org, "H. Peter Anvin" , autofs@vger.kernel.org, Thomas Meyer , Al Viro Date: Thu, 23 Feb 2012 09:54:45 +0800 In-Reply-To: <1329961703.2244.8.camel@perseus.themaw.net> References: <20120221.221609.218135609185671883.davem@davemloft.net> <1329889428.2193.45.camel@perseus.themaw.net> <1329890027.2193.48.camel@perseus.themaw.net> <1329890251.2193.50.camel@perseus.themaw.net> <1329903139.2193.66.camel@perseus.themaw.net> <1329961703.2244.8.camel@perseus.themaw.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1089 Lines: 34 On Thu, 2012-02-23 at 09:48 +0800, Ian Kent wrote: > On Wed, 2012-02-22 at 08:12 -0800, Linus Torvalds wrote: > > On Wed, Feb 22, 2012 at 1:32 AM, Ian Kent wrote: > > > > > > Oh, DOH ... > > > > > > The process mounting the autofs mount is passing the pipe it will use > > > for communication via a mount option so we can do this right in > > > fill_super. > > > > No, we really cannot. > > Sorry, I think your wrong this time. On second thought, I suppose other user space users don't "have" to use mount(2) .... > > > > > The autofs "mount" is done by fork + execve("mount"). > > It's done like this when mounting things inside an already mounted > indirect autofs mount or when mounting things on autofs direct mount > triggers but, in version 5, mount(2) has always used to mount autofs > file systems. > > Ian -- 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/