Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 MB is the new 1 MB is the new 64 sectors #38

Merged
merged 1 commit into from Apr 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion growimg
Expand Up @@ -230,7 +230,7 @@ fi

c 1 mount -o rdonly /dev/"$rootdevice"a $OldDir

offset=64
offset=$((4*1024*1024/${bytessec}))
asize=$((totalsize - offset))

echo "vnd-${tabname}:\\" > $NewLabel
Expand Down
2 changes: 1 addition & 1 deletion mkboot
Expand Up @@ -91,7 +91,7 @@ else
fi

# Main partition comprises the total disk after offset
offset=64
offset=$((4*1024*1024/${bytessec}))
asize=$((totalsize - offset))

echo "vnd-${tabname}:\\" > $tmplabel
Expand Down