mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Depoire--Ferrer <greg.depoire@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test3-mm1 and rootflags
Date: Tue, 29 Jun 2021 19:20:53 +0200	[thread overview]
Message-ID: <20210629172053.1709-1-greg.depoire@gmail.com> (raw)
In-Reply-To: <200308131944.h7DJiMpS001539@turing-police.cc.vt.edu>

Hello.

I configure my kernel to boot without an initrd, with "rw root=PARTUUID=...
rootflags=...". I would like the kernel to mount my root partition with
MS_NOATIME but it is currently not possible without using an initrd that
remounts the root partition with the new flags, as was described in this
thread.

Because the kernel already supports setting filesystem dependent flags, I think
it would make sense for it to also support setting filesystem independent flags.
Also, there is the issue of flags that can't be reset later by initrd (see the
previous messages).

In reply to this message, there is a patch that implements what was suggested,
adding a 'rootopts=' parameter that takes a bitmap value for the mount flags.

It's my first time using a mailing list. I'm not sure if you're supposed to
reply to very old messages like this one or create a new thread instead. Sorry
if I did something wrong.

  reply	other threads:[~2021-06-29 17:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12 18:55 Valdis.Kletnieks
2003-08-12 21:25 ` Andrew Morton
2003-08-13  3:41   ` Valdis.Kletnieks
2003-08-13 19:44     ` Valdis.Kletnieks
2021-06-29 17:20       ` Greg Depoire--Ferrer [this message]
2021-06-29 19:23         ` Randy Dunlap
2021-06-29 17:20       ` [PATCH] init: add rootopts=%d for rootfs mount flags Greg Depoire--Ferrer
2003-08-13  6:10 2.6.0-test3-mm1 and rootflags "Andrey Borzenkov" 

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210629172053.1709-1-greg.depoire@gmail.com \
    --to=greg.depoire@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®