[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180307222343.GA4353@L-66Y>
Date: Wed, 7 Mar 2018 14:23:43 -0800
From: Tyson Nottingham <tgnottingham@...il.com>
To: Lennart Sorensen <lsorense@...lub.uwaterloo.ca>
Cc: "Theodore Y. Ts'o" <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: ext4 ignoring rootfs default mount options
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.
Lennart,
I noticed this a while back, too. I don't believe you can currently. As a
workaround, you can use debugfs:
debugfs -w -R 'set_super_value mount_opts opt1,opt2,opt3' <dev>
Note that when printing superblock info, the e2fsprogs tools call the bit-based
default mount options "Default mount options" and the string-based default mount
options "Mount options".
Tyson
Powered by blists - more mailing lists