Skip to content

Commit 41d6aeb

Browse files
committed
[DISKPART] Identify system and boot volumes
1 parent 1628f5e commit 41d6aeb

15 files changed

Lines changed: 111 additions & 1 deletion

File tree

base/system/diskpart/diskpart.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ typedef struct _VOLENTRY
250250
ULONG SectorsPerAllocationUnit;
251251
ULONG BytesPerSector;
252252

253+
BOOL IsSystem;
254+
BOOL IsBoot;
255+
253256
PVOLUME_DISK_EXTENTS pExtents;
254257

255258
} VOLENTRY, *PVOLENTRY;

base/system/diskpart/lang/de-DE.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ BEGIN
210210
IDS_STATUS_ONLINE "Online"
211211
IDS_STATUS_OFFLINE "Offline"
212212
IDS_STATUS_NO_MEDIA "No Media"
213+
IDS_INFO_BOOT "Start"
214+
IDS_INFO_SYSTEM "System"
213215
END
214216

215217
/* CMD Messages for commands */

base/system/diskpart/lang/en-US.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ BEGIN
210210
IDS_STATUS_ONLINE "Online"
211211
IDS_STATUS_OFFLINE "Offline"
212212
IDS_STATUS_NO_MEDIA "No Media"
213+
IDS_INFO_BOOT "Boot"
214+
IDS_INFO_SYSTEM "System"
213215
END
214216

215217
/* CMD Messages for commands */

base/system/diskpart/lang/it-IT.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ BEGIN
217217
IDS_STATUS_ONLINE "Online"
218218
IDS_STATUS_OFFLINE "Offline"
219219
IDS_STATUS_NO_MEDIA "Nessun Media"
220+
IDS_INFO_BOOT "Boot"
221+
IDS_INFO_SYSTEM "System"
220222
END
221223

222224
/* CMD Messages for commands */

base/system/diskpart/lang/pl-PL.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ BEGIN
210210
IDS_STATUS_ONLINE "Online"
211211
IDS_STATUS_OFFLINE "Offline"
212212
IDS_STATUS_NO_MEDIA "Brak nośnika"
213+
IDS_INFO_BOOT "Boot"
214+
IDS_INFO_SYSTEM "System"
213215
END
214216

215217
/* CMD Messages for commands */

base/system/diskpart/lang/pt-PT.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ BEGIN
212212
IDS_STATUS_ONLINE "Activo"
213213
IDS_STATUS_OFFLINE "Inactivo"
214214
IDS_STATUS_NO_MEDIA "sem disco"
215+
IDS_INFO_BOOT "Boot"
216+
IDS_INFO_SYSTEM "System"
215217
END
216218

217219
/* CMD Messages for commands */

base/system/diskpart/lang/ro-RO.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ BEGIN
218218
IDS_STATUS_ONLINE "conectat"
219219
IDS_STATUS_OFFLINE "neconectat"
220220
IDS_STATUS_NO_MEDIA "inexistent"
221+
IDS_INFO_BOOT "Boot"
222+
IDS_INFO_SYSTEM "System"
221223
END
222224

223225
/* CMD Messages for commands */

base/system/diskpart/lang/ru-RU.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ BEGIN
212212
IDS_STATUS_ONLINE "В сети"
213213
IDS_STATUS_OFFLINE "Вне сети"
214214
IDS_STATUS_NO_MEDIA "Нет носителя"
215+
IDS_INFO_BOOT "Boot"
216+
IDS_INFO_SYSTEM "System"
215217
END
216218

217219
/* CMD Messages for commands */

base/system/diskpart/lang/sq-AL.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ BEGIN
214214
IDS_STATUS_ONLINE "Online"
215215
IDS_STATUS_OFFLINE "Offline"
216216
IDS_STATUS_NO_MEDIA "Ska Media"
217+
IDS_INFO_BOOT "Boot"
218+
IDS_INFO_SYSTEM "System"
217219
END
218220

219221
/* CMD Messages for commands */

base/system/diskpart/lang/tr-TR.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ BEGIN
220220
IDS_STATUS_ONLINE "Çevrim İçi"
221221
IDS_STATUS_OFFLINE "Çevrim Dışı"
222222
IDS_STATUS_NO_MEDIA "Ortam Yok"
223+
IDS_INFO_BOOT "Boot"
224+
IDS_INFO_SYSTEM "System"
223225
END
224226

225227
/* CMD Messages for commands */

0 commit comments

Comments
 (0)