Bug 500175

Summary: Should be able to set the init_table=0 option
Product: [Applications] partitionmanager Reporter: deco33000
Component: generalAssignee: Andrius Štikonas <andrius>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description deco33000 2025-02-16 09:56:17 UTC
Hi,
Right now it's impossible to achieve the equivalent of mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 <partition> in the gui.

Could we add these options when creating the partition ? It avoids the ext4 lazy initialization of the disk.

Thanks
Comment 1 Andrius Štikonas 2025-02-16 11:29:14 UTC
Hmm, right now kpmcore library supports optional "Features" and we have some of them https://invent.kde.org/system/kpmcore/-/blob/master/src/fs/ext2.cpp?ref_type=heads#L53

lazy_itable_init and lazy_journal_init are not there but we could easily add them.

The problem for now is that it " File system Features" not exposed in GUI in partitionmanager itself.
Comment 2 Andrius Štikonas 2025-02-18 00:02:40 UTC
I've added those two features to ext2.cpp though for now that is not exposed yet in partition manager UI.
Comment 3 deco33000 2025-02-18 05:27:15 UTC
(In reply to Andrius Štikonas from comment #2)
> I've added those two features to ext2.cpp though for now that is not exposed
> yet in partition manager UI.

That's great! Thanks 👍