Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
834f8fc0
Commit
834f8fc0
authored
Jan 03, 2013
by
Nikos Skalkotos
Browse files
Treat partitions with id="f" as extended
Partitions with id=0x0F are extended partitions with LBA addressing.
parent
33e9b1b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-image-helper/common.sh
View file @
834f8fc0
...
...
@@ -197,7 +197,7 @@ is_extended_partition() {
local
part_num
=
"
$2
"
id
=
$(
$SFDISK
--print-id
"
$dev
"
"
$part_num
"
)
if
[
"
$id
"
=
"5"
]
;
then
if
[
"
$id
"
=
"5"
-o
"
$id
"
=
"f"
]
;
then
echo
"yes"
else
echo
"no"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment