From 92250a8794034bf376d9cb146c52ff285f6d203b Mon Sep 17 00:00:00 2001 From: Piotr86PL <39170443+Piotr86PL@users.noreply.github.com> Date: Sat, 1 Oct 2022 17:47:31 +0200 Subject: [PATCH] Change mount commands to fix exFAT-FS errors --- .../board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh b/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh index f8e024b..5bff047 100644 --- a/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh +++ b/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh @@ -268,7 +268,7 @@ expandPartition() { handleError "Could not create /tmp/btrfs (${FUNCNAME[0]})\n Info: $(cat /tmp/btrfslog.txt)\n Args Passed: $*" fi fi - mount $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1 + mount -t btrfs $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1 if [[ $? -gt 0 ]]; then echo "Failed" debugPause @@ -673,7 +673,7 @@ shrinkPartition() { handleError "Could not create /tmp/btrfs (${FUNCNAME[0]})\n Info: $(cat /tmp/btrfslog.txt)\n Args Passed: $*" fi fi - mount $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1 + mount -t btrfs $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1 if [[ $? -gt 0 ]]; then echo "Failed" debugPause