--- a/archiso/mkarchiso 2012-06-11 11:01:54.000000000 +0200 +++ b/archiso/mkarchiso 2012-06-20 15:19:58.033289017 +0200 @@ -298,7 +298,7 @@ _mksfs () { # Makes a filesystem from a source directory. # $1: Source directory -# $2: Target filesystem type (ext4 | ext3 | ext2 | xfs) +# $2: Target filesystem type (btrfs | ext4 | ext3 | ext2 | xfs) # $3: Size of target filesystem. Can be an absolute value in MiB, or relative value of desired free space (1% - 99%) _mkfs () { local _src="${1}" @@ -336,6 +336,9 @@ _mkfs () { _qflag="-q" fi case "${_fs_type}" in + btrfs) + mkfs.btrfs --mixed "${_fs_img}" + ;; ext4) mkfs.ext4 ${_qflag} -O ^has_journal -m 0 -F "${_fs_img}" tune2fs -c 0 -i 0 "${_fs_img}" &> /dev/null