From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753393Ab2BWGcT (ORCPT ); Thu, 23 Feb 2012 01:32:19 -0500 Received: from terminus.zytor.com ([198.137.202.10]:54272 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752154Ab2BWGcS (ORCPT ); Thu, 23 Feb 2012 01:32:18 -0500 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> <1329962085.2244.10.camel@perseus.themaw.net> <1329963683.2244.19.camel@perseus.themaw.net> <1329978558.25314.0.camel@perseus.themaw.net> User-Agent: K-9 Mail for Android In-Reply-To: <1329978558.25314.0.camel@perseus.themaw.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: compat: autofs v5 packet size ambiguity - update From: "H. Peter Anvin" Date: Wed, 22 Feb 2012 22:31:38 -0800 To: Ian Kent , Thomas Meyer CC: David Miller , linux-kernel@vger.kernel.org, autofs@vger.kernel.org, Linus Torvalds , Al Viro Message-ID: <2b90acba-a8e9-485a-b2a6-608d61751f2c@email.android.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org However, I liked Linus' approach.of using the version ioctl; any reason not to? Ian Kent wrote: >On Thu, 2012-02-23 at 10:21 +0800, Ian Kent wrote: >> On Thu, 2012-02-23 at 09:54 +0800, Ian Kent wrote: >> > 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) .... >> >> Thomas, what does systemd use to mount the autofs mounts that it >uses? > >Mmm ... AFAICS systemd uses mount(2) so that looks OK too. > >Ian -- Sent from my mobile phone. Please excuse my brevity and lack of formatting.