Skip to main content
ALT Linux Bugzilla
– Attachment 22174 Details for
Bug 60510
EVMS использует устаревший номер GPT-раздела после изменения разметки
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч, исправляющий проблему
gpt-refresh-device-numbers.patch (text/plain), 1.01 KB, created by
Жора Змейкин
on 2026-09-13 00:21:46 MSK
(
hide
)
Description:
Патч, исправляющий проблему
Filename:
MIME Type:
Creator:
Жора Змейкин
Created:
2026-09-13 00:21:46 MSK
Size:
1.01 KB
patch
obsolete
>Subject: [PATCH] gpt: Refresh device numbers after commit > >Rereading GPT can change device numbers of existing partitions. Mark >data segments for reactivation after a successful commit so EVMS >refreshes cached numbers before publishing device nodes. > >--- > plugins/gpt/gptsegmgr.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/plugins/gpt/gptsegmgr.c b/plugins/gpt/gptsegmgr.c >--- a/plugins/gpt/gptsegmgr.c >+++ b/plugins/gpt/gptsegmgr.c >@@ -2066,6 +2066,8 @@ > // mark all seg storage objects clean on this disk > LIST_FOR_EACH( ld->parent_objects, iter, clean_seg ) { > clean_seg->flags &= ~SOFLAG_DIRTY; >+ if (clean_seg->data_type == DATA_TYPE) >+ clean_seg->flags |= SOFLAG_NEEDS_ACTIVATE; > } > > ld->flags |= SOFLAG_PTABLE_DIRTY;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60510
: 22174