Ext4 missing in mkfs

On all CL installations I cannot format anything with ext4 as the extension is missing:

mkfs mkfs.btrfs mkfs.ntfs

You can try searching for the “missing” utilities:

user@host~ $ sudo swupd search mkfs.ext4
Bundle with the best search result:
 storage-utils                  	- Run disk and filesystem management functions.  (38MB) 

This bundle can be installed with:

  swupd bundle-add  storage-utils

To confirm this:

user@host~ $ sudo swupd bundle-info --files storage-utils | egrep ext4
 - /usr/share/man/man8/mkfs.ext4.8
 - /usr/share/man/man8/fsck.ext4.8
 - /usr/share/man/man5/ext4.5
 - /usr/lib64/autofs/mount_ext4.so
 - /usr/bin/mkfs.ext4
1 Like