Skip to content
Snippets Groups Projects
Commit 9f889900 authored by Gerardo Pozzi's avatar Gerardo Pozzi
Browse files

[archiso] Disable ext4 resize_inode on airootfs.


Remove unused feature, just to save space
sizeof ext4 image (empty): 4.3M vs 403K (du airootfs.img)
sizeof used space (empty):  48M vs  20K (df)

Thanks Christian Hesse for initial tip.

Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@gmail.com>
parent b14adf04
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ _mkairootfs () {
if [[ ${quiet} == "y" ]]; then
_qflag="-q"
fi
mkfs.ext4 ${_qflag} -O ^has_journal -E lazy_itable_init=0 -m 0 -F "${work_dir}/airootfs.img"
mkfs.ext4 ${_qflag} -O ^has_journal,^resize_inode -E lazy_itable_init=0 -m 0 -F "${work_dir}/airootfs.img"
tune2fs -c 0 -i 0 "${work_dir}/airootfs.img" &> /dev/null
_msg_info "Done!"
_mount_airootfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment