Skip to content

Commit

Permalink
Change mount commands to fix exFAT-FS errors on BTRFS mounts, thanks …
Browse files Browse the repository at this point in the history
…to @Piotr86PL
  • Loading branch information
Sebastian-Roth authored Oct 6, 2022
2 parents f2e2550 + 92250a8 commit 4662011
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,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
Expand Down Expand Up @@ -676,7 +676,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
Expand Down

0 comments on commit 4662011

Please sign in to comment.