From: Ralph Siemsen <ralph.siemsen@linaro.org>
To: linux-ext4@vger.kernel.org
Cc: Ralph Siemsen <ralph.siemsen@linaro.org>
Subject: [PATCH RFC 0/3] mke2fs: small doc and features
Date: Tue, 09 Sep 2025 11:40:49 -0400 [thread overview]
Message-ID: <20250909-mke2fs-small-fixes-v1-0-c6ba28528af2@linaro.org> (raw)
Three independent fixes for mke2fs:
1) document the hash_seed option
2) prohibit multiple '-E' arguments
3) add extended option for setting root inode security context
The first fix is straightforward.
For the second one, some alternatives would be:
- only print a warning, not a fatal error (but that is easy to miss)
- allow multiple '-E' options, and join them automatically
For the third one, the main use case is when generating empty
filesystems for use when SELinux is enabled.
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
---
Ralph Siemsen (3):
mke2fs: document the hash_seed option
mke2fs.c: fail on multiple '-E' options
mke2fs: add root_selinux option for root inode label
misc/mke2fs.8.in | 14 +++++++++++
misc/mke2fs.c | 53 ++++++++++++++++++++++++++++++++++++++++
tests/m_root_selinux/expect.1 | 57 +++++++++++++++++++++++++++++++++++++++++++
tests/m_root_selinux/script | 4 +++
4 files changed, 128 insertions(+)
---
base-commit: 4b02eb164221c079b428566499343af2766c2ec3
change-id: 20250909-mke2fs-small-fixes-6d4a0c3a8781
Best regards,
--
Ralph Siemsen <ralph.siemsen@linaro.org>
next reply other threads:[~2025-09-09 15:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-09 15:40 Ralph Siemsen [this message]
2025-09-09 15:40 ` [PATCH RFC 1/3] mke2fs: document the hash_seed option Ralph Siemsen
2025-09-09 15:40 ` [PATCH RFC 2/3] mke2fs.c: fail on multiple '-E' options Ralph Siemsen
2025-09-10 0:32 ` Andreas Dilger
2025-09-10 0:49 ` Ralph Siemsen
2025-09-10 14:52 ` Theodore Ts'o
2025-09-10 15:00 ` Theodore Ts'o
2025-09-10 16:29 ` Ralph Siemsen
2025-09-10 20:45 ` Theodore Ts'o
2025-09-10 21:31 ` Ralph Siemsen
2025-09-19 15:44 ` Ralph Siemsen
2025-09-09 15:40 ` [PATCH RFC 3/3] mke2fs: add root_selinux option for root inode label Ralph Siemsen
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=20250909-mke2fs-small-fixes-v1-0-c6ba28528af2@linaro.org \
--to=ralph.siemsen@linaro.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;
as well as URLs for NNTP newsgroup(s).