On Tue,  8 Dec 2015 14:10:33 +0800
Qu Wenruo <quwen...@cn.fujitsu.com> wrote:

> Introduce a new mount option "nologreplay" to co-operate with "ro" mount
> option to get real readonly mount, like "norecovery" in ext* and xfs.

Maybe name it "norecovery" too, for simplicity and consistency?

The actual effect of "norecovery" in ext* and xfs is to also disable log
replay, but that's an under-the-hood detail not relevant to the user.

---
Mount options for ext3

       norecovery/noload
              Don't load the journal on mounting.  Note that if the filesystem
              was not unmounted cleanly, skipping the journal replay will lead
              to  the  filesystem  containing inconsistencies that can lead to
              any number of problems.
---
Mount options for xfs

       norecovery
              The filesystem will be mounted without running log recovery.  If
              the filesystem was not cleanly unmounted, it  is  likely  to  be
              inconsistent  when  mounted  in  norecovery mode.  Some files or
              directories may not be accessible because of this.   Filesystems
              mounted  norecovery  must be mounted read-only or the mount will
              fail.
---

-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature

Reply via email to