Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
Fix potentially missing loop device
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Jul 22, 2014
1 parent 338fd7c commit 35435ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions archi
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ TRY_MOUNT() {
# $1 - File to mount
# $2 - Directory to mount file into
echo "Trying to mount $(basename "$1")"
modprobe loop
mkdir -p "$2"
echo "Stage 1: Mounting with automatic filesystem..."
ROOT_EXECUTE "mount -t auto -o loop $1 $2"
Expand Down

0 comments on commit 35435ed

Please sign in to comment.