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@xxxxxxxxxx> --- 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@xxxxxxxxxx>