From 17d85e14525ab2020515b1ae7eb39d358fad923a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 13 Mar 2013 22:07:05 +0100 Subject: Using ntfs-3g to mount ntfs partitions. --- scripts/build/binary_hdd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/build/binary_hdd') diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd index c5fdf70df..9f075212b 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -199,21 +199,25 @@ case "${LB_BINARY_FILESYSTEM}" in ext2|ext3|ext4) MKFS="${LB_BINARY_FILESYSTEM}" MKFS_OPTIONS="-L ${LB_HDD_LABEL} -m 0" + MOUNT_OPTIONS="" ;; fat16) MKFS="vfat" MKFS_OPTIONS="-F 16 -n ${LB_HDD_LABEL}" + MOUNT_OPTIONS="" ;; fat32) MKFS="vfat" MKFS_OPTIONS="-F 32 -n ${LB_HDD_LABEL}" + MOUNT_OPTIONS="" ;; ntfs) MKFS="ntfs" MKFS_OPTIONS="-L ${LB_HDD_LABEL}" + MOUNT_OPTIONS="-t ntfs-3g" ;; esac @@ -234,7 +238,7 @@ case "${LB_BINARY_FILESYSTEM}" in esac mkdir -p chroot/binary.tmp -mount ${FREELO} chroot/binary.tmp +mount ${MOUNT_OPTIONS} ${FREELO} chroot/binary.tmp cp -r -T ${CP_OPTIONS} binary/ chroot/binary.tmp FIXME() -- cgit v1.2.3