Received: by 10.223.185.116 with SMTP id b49csp5602404wrg; Wed, 7 Mar 2018 14:52:01 -0800 (PST) X-Google-Smtp-Source: AG47ELv/NlurpJ4aeM64E6ejkuggSheRIp6osU7d9+4bK3J/AicNfmlguCiGAp2F1zaNA3Y5EIxu X-Received: by 10.99.122.71 with SMTP id j7mr19137595pgn.151.1520463121527; Wed, 07 Mar 2018 14:52:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520463121; cv=none; d=google.com; s=arc-20160816; b=kl0TzLbaJnKDL5ixhbr2PZtT4WUjIqlyEM6YAzQl3zqwfxV0uRO6+UAkOsANa+Sbhe E1wdcfhpEK2OjTvDtyoti8JLdF78/XSWYdR3Q+AX3xsJohnafLo48o//JlEPhiejNURw 5PHTER+xoSKb8E7NNawmDfhqvswUd1W+wAdFAGwsxSt8rRFoU5fC7aQUaCiF6xfGdZe3 R0DmT9KV6SYyFHrTZ4cweuw5PlAwEUcZgGNKOEXXEkXoqIIqAm97h8BqInTp8Qun30ts sZRh4VwDWhPkmFrPJ9aRe1R/KPvPH4T51cn4bsHdg6uWrxHJA2modyM14RRTzoQnhlmY 48vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=xksQYZXhILJWVxMyQi0VDrc6gGSm8k2GHz4wG0Nn2LE=; b=Zja5uMluFmSnKNlda4PS6CRnt+t6PQVB/1c3QoCoxbvdesdqGDGiwybhvFSwCk3YCB K2Ci5hmAZScd5/zWfs8IS318ir08XKjTTtlX1RpZqsTq4Vs0CPoSy7JImIwqqy7M/kRe H5+ryX9eCpC6dhUYw/TnOSZcayxFU9YmINVubksRAIj9Y/ONjbd+SUtmN/GKCgc5/4Dj XQbmmamwbNRQ0iDU6ojBDM9rLwphwbnmG3NPf/UPS3ekudQclAxiIw7IegD0qRVJlRbJ yZwpTJSQ5zlFoqO1dSJXWyRzKh4BYnGLekAp9kamhZcbMrUvmWK45yV8Zx/+b5H67rOd 2hCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=WQ8uXpXO; 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 g31-v6si13667038pld.714.2018.03.07.14.51.46; Wed, 07 Mar 2018 14:52:01 -0800 (PST) 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=fail header.i=@thunk.org header.s=ef5046eb header.b=WQ8uXpXO; 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 S934344AbeCGWuq (ORCPT + 99 others); Wed, 7 Mar 2018 17:50:46 -0500 Received: from imap.thunk.org ([74.207.234.97]:40624 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933743AbeCGWup (ORCPT ); Wed, 7 Mar 2018 17:50:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xksQYZXhILJWVxMyQi0VDrc6gGSm8k2GHz4wG0Nn2LE=; b=WQ8uXpXOJOCyUYhyOaW6igtnBg VeA2fjjFausxn/ZF9+gSmWd5fF69cC43DWbN5JzLknyYtSD/HvU/ZspHvaqkGCb16muh7n/dE1J4r 2q0rt9Vr3nRrQAUPzoC9OoFFCbBw0Al3yjTaniuM32lfS+4/ESF+/tkzG2QOKe3R5il8=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1ethtT-0000hl-Ve; Wed, 07 Mar 2018 22:50:44 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id 1F1647A4139; Wed, 7 Mar 2018 17:50:43 -0500 (EST) Date: Wed, 7 Mar 2018 17:50:43 -0500 From: "Theodore Y. Ts'o" To: Lennart Sorensen Cc: Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: ext4 ignoring rootfs default mount options Message-ID: <20180307225043.GA15217@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Lennart Sorensen , Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180306190315.puocf5bu3bfz6yct@csclub.uwaterloo.ca> <20180307040608.GA2462@thunk.org> <20180307151427.i6vbeq6kqo55cdgs@csclub.uwaterloo.ca> <20180307160856.GD7507@thunk.org> <20180307191324.qtloesy4zdlkfnwv@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180307191324.qtloesy4zdlkfnwv@csclub.uwaterloo.ca> User-Agent: Mutt/1.9.3 (2018-01-21) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 07, 2018 at 02:13:24PM -0500, Lennart Sorensen wrote: > > Trying to use tune2fs -E mount_opts to set some default options, and > can't figure out how to enter two options at once. > > ... > > Sure in this case I can set one with -o and the other with -E, but in > general there seems to be a small problem here, probably only in user > space though. Seems tune2fs needs some change in how it deals with > extended options that contain commas. Yes, this is a shortcoming in tune2fs. You can set extended mount options using debugfs: debugfs -w -R "set_super_value mount_opts foo,bar" /dev/sda1 ... but there ought to be some way to support some kind of quoting mechanism so that tune2fs can understand when a comma is part of an extended option value, as opposed to separating extended options. Extended options haven't been used much, so it's not been something that has gotten a lot of polish. Backing up for a bit, is there a reason why you need so many mount options when mounting the root file sytsem? Specifically, why do you want to turn off dellayed allocation? - Ted