Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755093Ab2BWCZa (ORCPT ); Wed, 22 Feb 2012 21:25:30 -0500 Received: from mail-pw0-f46.google.com ([209.85.160.46]:58523 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754813Ab2BWCZ3 (ORCPT ); Wed, 22 Feb 2012 21:25:29 -0500 MIME-Version: 1.0 In-Reply-To: <1329962955.2244.16.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> <1329962955.2244.16.camel@perseus.themaw.net> From: Linus Torvalds Date: Wed, 22 Feb 2012 18:25:09 -0800 X-Google-Sender-Auth: QeBPE58zq0eSNMjI5kyfj1ocUi4 Message-ID: Subject: Re: compat: autofs v5 packet size ambiguity - update To: Ian Kent Cc: David Miller , linux-kernel@vger.kernel.org, "H. Peter Anvin" , autofs@vger.kernel.org, Thomas Meyer , Al Viro Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1208 Lines: 30 On Wed, Feb 22, 2012 at 6:09 PM, Ian Kent wrote: > > Sure, that's true, and you'll see it uses the mount option maxproto with > the value of AUTOFS_MAX_PROTO_VERSION. But autofs uses it's own copy of > the headers so AUTOFS_MAX_PROTO_VERSION is 4 not 5 so it won't be > affected by this change. Ok. I fetched your git tree, and it seems this changed to use mount() directly in commit a74f68c99d9f ("integrated master map parsing into daemon") back in 2006. Which seems to be part of autofs_5_0_0_beta1, so I guess we're safe. I hope no distro ever used any early pre-beta versions of autofs that had the new packet support but still used the external 'mount' command. So looks good. I can't imagine that systemd mounts things directly, because then you need to play with the whole pipe thing to get it to work with the daemon. And that would just be odd. Of course, "odd" is often par-for-the-course in user land ;) Linus -- 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/