lkml.org 
[lkml]   [2018]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2018-03-07 23:24    [W:0.408 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site