On 01/02/23 21:45, Helmut Grohne wrote:
On Wed, Feb 01, 2023 at 06:07:25PM +0100, Gioele Barabucci wrote:
debvm-create converts the ext2 filesystem created by mmdebstrap to ext4
using the following tune2fs command:
tune2fs ... -O extents,uninit_bg,dir_index,has_journal "$IMAGE"
The ext4 filesystem created in this way does not have some of the features
that a filesystem created with mkfs.ext4 would have:
My (debatable) expectation is that the ext4 filesystem would have at least
all features of a standard ext4 filesystem.
This kinda is right. We could slightly improve this, but in the end we
want to replace genext2fs with mkfs.ext4 and that depends on it
supporting tarball input. So do you think we should mess with the
tune2fs invocation in the interim or is it good enough for now?
Hi,
personally I stumbled upon this problem because my tests require
`dir_nlink` (more than 65k subdirs per directory) and that feature was
not enabled. Maybe other people have use-cases that depend on other
missing features, but I doubt it.
IMO just copying the current set of features is enough as an interim
solution to this minor (and temporary) problem.
Regards,
--
Gioele Barabucci