From 9f889900654e991ec644d4bddab132beb4f2ac67 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Fri, 22 Aug 2014 18:54:30 -0300 Subject: [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: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiso') diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 2de026e..5643525 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -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 -- cgit v1.2.3-70-g09d2