Return-Path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:35897 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753180Ab1IWQrs (ORCPT ); Fri, 23 Sep 2011 12:47:48 -0400 Received: by wyg34 with SMTP id 34so4144193wyg.19 for ; Fri, 23 Sep 2011 09:47:47 -0700 (PDT) In-Reply-To: <13920.1316796007@redhat.com> References: <1316747758.3346.89.camel@perseus.themaw.net> <20110922134510.24683.14576.stgit@warthog.procyon.org.uk> <1316707443.3346.44.camel@perseus.themaw.net> <1316709935.3346.48.camel@perseus.themaw.net> <20110922133529.6d3ea8de@barsoom.rdu.redhat.com> <20110922144453.6cf53a25@barsoom.rdu.redhat.com> <1316719228.3968.14.camel@lade.trondhjem.org> <2E1EB2CF9ED1CB4AA966F0EB76EAB4430B480BD4@SACMVEXC2-PRD.hq.netapp.com> <21772.1316774025@redhat.com> <1316788444.14812.10.camel@lade.trondhjem.org> <1316792468.3346.144.camel@perseus.themaw.net> <13920.1316796007@redhat.com> From: Linus Torvalds Date: Fri, 23 Sep 2011 09:47:27 -0700 Message-ID: Subject: Re: [PATCH] VFS: Suppress automount on [l]stat, [l]getxattr, etc. To: David Howells Cc: Ian Kent , Trond Myklebust , miklos@szeredi.hu, Jeff Layton , viro@zeniv.linux.org.uk, gregkh@suse.de, linux-nfs@vger.kernel.org, leonardo.lists@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Fri, Sep 23, 2011 at 9:40 AM, David Howells wrote: > > getxattr and co. are trickier because they don't have an AT_ flags form, and > it can be argued that these, lgetxattr and co. included should automount. > However, that would seriously upset ls, so I think we have to leave lgetxattr > not automounting, and so getxattr should follow. Why? If you really want to follow, use the '/' at the end. Seriously. ALMOST NOBODY CARES. And the people that DO care the most are the people who are telling you: DON'T YOU F*(^ING AUTOMOUNT BY MISTAKE! If there's even a slight doubt about what to do, we're generally *much* better off not auto-mounting. Really. Linus