Skip to content

Commit 4662011

Browse files
Change mount commands to fix exFAT-FS errors on BTRFS mounts, thanks to @Piotr86PL
2 parents f2e2550 + 92250a8 commit 4662011

File tree

1 file changed

+2
-2
lines changed
  • Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib

1 file changed

+2
-2
lines changed

Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ expandPartition() {
269269
handleError "Could not create /tmp/btrfs (${FUNCNAME[0]})\n Info: $(cat /tmp/btrfslog.txt)\n Args Passed: $*"
270270
fi
271271
fi
272-
mount $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1
272+
mount -t btrfs $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1
273273
if [[ $? -gt 0 ]]; then
274274
echo "Failed"
275275
debugPause
@@ -676,7 +676,7 @@ shrinkPartition() {
676676
handleError "Could not create /tmp/btrfs (${FUNCNAME[0]})\n Info: $(cat /tmp/btrfslog.txt)\n Args Passed: $*"
677677
fi
678678
fi
679-
mount $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1
679+
mount -t btrfs $part /tmp/btrfs >>/tmp/btrfslog.txt 2>&1
680680
if [[ $? -gt 0 ]]; then
681681
echo "Failed"
682682
debugPause

0 commit comments

Comments
 (0)