archive mirror
 help / color / mirror / Atom feed
From: Fourhundred Thecat <>
Subject: mapping with --readonly option
Date: Sat, 5 Nov 2022 11:15:12 +0100	[thread overview]
Message-ID: <> (raw)


if I use the --readonly option to create a mapping, and mount it as my
root partition, can the mapping later be changed during runtime to
read-write ?

Or, in other words, if mapping was created as readonly, can I be sure
that it cannot be remapped to read-write while being mounted as my root

Ofcourse mapping can be closed and opened again, but I am asking here
specifically for mapping that is mounted as root filesystem, which
cannot be unmounted at runtime (as far as I know)

I am interested whether I can use readonly mapping as sort of security
feature to enforce read-only filesystem?

thank you

             reply	other threads:[~2022-11-05 10:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05 10:15 Fourhundred Thecat [this message]
2022-11-06 22:15 ` mapping with --readonly option Arno Wagner
2022-11-06 22:29   ` Christoph Anton Mitterer

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:

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

  git send-email \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).