2 Sep
2013
2 Sep
'13
2:03 a.m.
From: Christian Hesse mail@eworm.de
This allows to grow the filesystem after system boot up. We have no additional cost as squashfs handles sparse files. --- archiso/mkarchiso | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 8f9ed42..563f624 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -364,6 +364,8 @@ _mkfs () { cp -aT "${_fs_src}/" "${work_dir}/mnt/${_src}/" _msg_info "Done!" _umount_fs "${work_dir}/mnt/${_src}" + # double size with sparse blocks, will allow to grow the filesystem + truncate -s$((_fs_size*2))M "${_fs_img}" }
command_checksum () {
--
1.8.4