diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2014-08-22 18:54:30 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2014-08-22 20:10:10 -0300 |
commit | 9f889900654e991ec644d4bddab132beb4f2ac67 (patch) | |
tree | 132968cd12b14d789e01a0aa0a3ab7f2dbd0f386 /archiso/mkarchiso | |
parent | b14adf04fe63c4b5f09bc496ff9b1fdb804d9640 (diff) | |
download | archiso32-9f889900654e991ec644d4bddab132beb4f2ac67.tar.xz |
[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 <vmlinuz386@gmail.com>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 2 |
1 files changed, 1 insertions, 1 deletions
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 |