From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: linux-ext4@vger.kernel.org,
Linux FS Devel <linux-fsdevel@vger.kernel.org>
Subject: About read-only feature EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS
Date: Sun, 2 Feb 2020 10:02:13 +0800 [thread overview]
Message-ID: <4697ab8d-f9cf-07cc-0ce9-db92e9381492@gmx.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 858 bytes --]
Hi ext4 guys,
Recently I found an image from android (vendor.img) has this RO feature
set, but kernel doesn't support it, thus no easy way to modify it.
(Although I can just modify the underlying block for my purpose, it's
just one line change, I still want a more elegant way).
Thus it can only be mounted RO. So far so good, as from its name, it's
kinda of deduped (BTW, both XFS and Btrfs supports RW mount for
reflinked/deduped fs).
But the problem is, how to create such image?
Man page of mke2fs has no mention of such thing at all, and obviously
for whoever comes up with such "brilliant" way to block users from
modifying things, the "-E unshare_blocks" will just make the image too
large for the device.
Or we must go the Android rabbit hole to find an exotic tool to modify
even one line of a config file?
Thanks,
Qu
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2020-02-02 2:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-02 2:02 Qu Wenruo [this message]
2020-02-02 2:16 ` About read-only feature EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS Andreas Dilger
2020-02-02 2:23 ` Qu Wenruo
2020-02-02 22:53 ` Theodore Y. Ts'o
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=4697ab8d-f9cf-07cc-0ce9-db92e9381492@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@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;
as well as URLs for NNTP newsgroup(s).