Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4262853imm; Mon, 30 Jul 2018 11:20:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdkkhTnEUoTuM2/O8+qkPrAPY+0uYZwA8arR7QRRbSWbJgy/8H0zANteCkvbhvtG7bHD7iz X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr17236448pln.175.1532974841376; Mon, 30 Jul 2018 11:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532974841; cv=none; d=google.com; s=arc-20160816; b=mj5u29MclHdr8NlocbOO2mLPJDhEpSI4lmrLWDH/WSb/SmyCXHujqfxA7U+3rPu1GY U1CvoMRjpyu6h6Cvl66T+xTH+1IR5GltDpcMF4RoQXb7wZqQGYnMi8Vxjei0uN2Kp63J Pg5CYZv89HgQJMpE47UIJoz5Oug2KKeRMrQoQtzBgMu37xGZid5DwHEBjJrOYrnR0aTp UTYiKNEFhsHsIj2hjF4TsDrHo4H1VVFy4vnUrhHomMiDpvCyXyqQ0z2IzPZOXqhtCsWy L7uZVZwwedlN+xrqXgNc+uB5y/I8tnx2yxKuyNuIXkxGbM01yI5yibSMlsATQit1wN1t xtLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=pevNO25vI9FJo1HqskuRH0PK2wD9/891f5ZSN0pjc8A=; b=QXC4qD2xDIXNwp/U+zf/DiWdLShhkt7yzuL+eUIhbHmNgDiw9oNYC7Zw/Kk+f4kpaU 68VPgdCIAymFnfO3+rgMP0P+gybGu4VFbAN86mZAibt1NvfU3rqA8nCP+u7Xub0bX/OE NROxGB8xdDwr1kyNrgo2g9h2FiYB12verA/cGal443GD9GRevzQE1qcrNYOxyUV6vTkY 2HEgpSlKvEk53z+rqP1jeP4xmadP0e5PSMUfZ4wU3uFQJ0ZyNv0eogcxSUH7oQ5QIBvz ayLv3AdMDt0VD6Nk3aaXLh7T+Au/Hrp/j8Ei5UkFW1mLF/7sF1SRFlATyS/de9JCyy9/ 1ObQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TGyV1Z2e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s16-v6si11904803pgg.538.2018.07.30.11.20.26; Mon, 30 Jul 2018 11:20:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TGyV1Z2e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730125AbeG3TzT (ORCPT + 99 others); Mon, 30 Jul 2018 15:55:19 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:38674 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726808AbeG3TzS (ORCPT ); Mon, 30 Jul 2018 15:55:18 -0400 Received: by mail-it0-f66.google.com with SMTP id v71-v6so556508itb.3; Mon, 30 Jul 2018 11:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pevNO25vI9FJo1HqskuRH0PK2wD9/891f5ZSN0pjc8A=; b=TGyV1Z2eHX/lC+L232Ez+10VvR+CaiQnZzJ4oE3w1O1WyUj08qGL0zxWja1Pj0ra89 QI0rQjUfA+EYSYJ9BELKffBkq+VjDeaHlPVmhbXC+egMHvvy/LGTh//t+BrpDFmVryt5 CmpgzAr2HnoE3tad77eZffHH2tGTV89M/JIfE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pevNO25vI9FJo1HqskuRH0PK2wD9/891f5ZSN0pjc8A=; b=K5TrZvoVwtnZ6czN/uhnHVRsRkQBamAqdKU1VRP/3CrOL8268Bn/UkahaCdp+nPnxb WOKBWWkL3R/72pziZJrn9QlYIIbM7pXnElCTUSS+V2aAEVf4O9/KRYi7p7y7bipqoGjT lUOP97iBSdl/8BICm7Y+AFJyS6SRiaGoarptfB2+FXLU3bG49lLnyCW6iA1id7uZm+XI /y2RjX01waSPsvMVAORKovDIKWNCmZuZ53oEIExzBRixVHqs7f4H6WL58tcXtgsYfXaN s6bJka2Po6RTmKymjVv5AILTmYUAhssrwslT/TuF9oew0I1Psav8RRxHfAFPwomk6+ZT gcHg== X-Gm-Message-State: AOUpUlHe/eQFcQYgGJydt9ELRHmddl5Xf3/AU9l+YFY9a6BlPPoE8hhQ i6CDxnf47VGx1wi2Mm3aJF9RJfqeJBBmyDp+Juw= X-Received: by 2002:a02:702:: with SMTP id f2-v6mr17775408jaf.70.1532974744921; Mon, 30 Jul 2018 11:19:04 -0700 (PDT) MIME-Version: 1.0 References: <20180729113749.GA7333@amd> <153271267980.9458.7640156373438016898.stgit@warthog.procyon.org.uk> <153271292330.9458.14583488053811372222.stgit@warthog.procyon.org.uk> <25489.1532953411@warthog.procyon.org.uk> <20180730143104.GB24051@amd> <20180730180842.GA5544@bombadil.infradead.org> In-Reply-To: <20180730180842.GA5544@bombadil.infradead.org> From: Linus Torvalds Date: Mon, 30 Jul 2018 11:18:53 -0700 Message-ID: Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10] To: Matthew Wilcox Cc: Pavel Machek , David Howells , Al Viro , linux-fsdevel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 30, 2018 at 11:08 AM Matthew Wilcox wrote: > > Have you looked at how gettext() works? It uses the english text as > a search string and replaces it with the localised string. This is > a very common design! I absolutely refuse to have anything to do with gettext in the kernel. gettext() needs help that I'm not willing to give, and that I absolutely refuse to consider as part of any kernel interfaces. Mount options are already English text. Don't try to make it anything else. Just do a git grep '{.*Opt_.*".*".*}' on the kernel, and realize that if you are messing with mount options and things like that, you'd better be able to google the incomprehensible words. Most of them will be incomprehensible even if you're a native speaker. There is not a way in hell that we will ever have gettext() support for any of these things. Linus