From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 109331] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
Date: Tue, 15 Dec 2015 00:51:53 +0000 [thread overview]
Message-ID: <bug-109331-13602-8LFPW8zBrG@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-109331-13602@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=109331
Theodore Tso <tytso@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P3
CC| |tytso@mit.edu
--- Comment #5 from Theodore Tso <tytso@mit.edu> ---
The kernel's low-level boot path tries each file system --- and the problem is
that ext4 doesn't know whether this is part of the boot process mounting the
root file system, or the user explicitly trying to mount a file system as ext3.
When we dropped support for ext3 in recent kernels, CONFIG_EXT4_USE_FOR_EXT23
was renamed CONFIG_EXT4_USE_FOR_EXT2 and the ext3 bug-for-bug backwards
compatibility support was unconditionally included. It was just a side effect
of how ext3 code was removed from the Linux kernel, and given that most
distributions would never explicitly want to remove ext3 support entirely lest
it break users' configs (i.e., so very, VERY few people compile kernels with
!CONFIG_EXT2_FS, !CONFIG_EXT3_FS, and !CONFIG_EXT4_USE_FOR_EXT23) no one really
noticed or cared.
We can "fix" this by either changing CONFIG_EXT4_USE_FOR_EXT2 back to
CONFIG_EXT4_USE_FOR_EXT23, which would support !ext2, !ext3compat, ext4, but
not allow ext2, !ext3co,pat, or ext4. Or by adding a new Kconfig for
EXT4_USE_FOR_EXT3 that would explicitly turn on/off just the ext3 compatibility
code.
Personally, I don't really care enough to implement this, but if someone wants
to try their hand at a relatively simple kernel patch, please give it a try.
--
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2015-12-15 0:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 4:26 [Bug 109331] New: EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities bugzilla-daemon
2015-12-14 4:26 ` [Bug 109331] " bugzilla-daemon
2015-12-14 4:30 ` bugzilla-daemon
2015-12-14 5:02 ` bugzilla-daemon
2015-12-14 16:12 ` bugzilla-daemon
2015-12-14 21:19 ` bugzilla-daemon
2015-12-15 0:51 ` bugzilla-daemon [this message]
2015-12-15 6:59 ` bugzilla-daemon
2016-04-13 20:35 ` bugzilla-daemon
2020-05-28 4:55 ` bugzilla-daemon
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=bug-109331-13602-8LFPW8zBrG@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-ext4@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