https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dd2c7ea3ce05a74034e7c…
commit dd2c7ea3ce05a74034e7cd98af6a61b579a78c5a
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Tue Jun 7 23:08:05 2022 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Tue Jun 7 23:08:05 2022 +0200
[DISKPART] Add help text for the UNIQUEID DISK command
---
base/system/diskpart/diskpart_msg.mc | 288 +++++++++++++++++++++++++++++++++--
1 file changed, 277 insertions(+), 11 deletions(-)
diff --git a/base/system/diskpart/diskpart_msg.mc b/base/system/diskpart/diskpart_msg.mc
index 7fc7419829b..15ccd2c3117 100644
--- a/base/system/diskpart/diskpart_msg.mc
+++ b/base/system/diskpart/diskpart_msg.mc
@@ -2979,7 +2979,29 @@ Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
NOERR For scripting only. When an error is encountered, DiskPart
continues to process commands as if the error did not occur.
Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.\r\n\r\n Intended for Original Equipment
Manufacturer (OEM) use only.\r\n\r\n A partition must be selected for this operation to
succeed.\r\n\r\n Caution:\r\n\r\n Changing partition type fields with this
parameter might cause your\r\n computer to fail or be unable to start up. Unless
you are an OEM or an\r\n IT professional experienced with GPT disks, do not change
partition\r\n type fields on GPT disks using this pa [...]
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=German
<Add SETID command help text here>
@@ -3051,32 +3073,276 @@ SymbolicName=MSG_COMMAND_UNIQUEID_DISK
Severity=Informational
Facility=System
Language=English
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=German
-<Add UNIQUEID DISK command help text here>
+ Dient zum Anzeigen oder Festlegen des GPT-Bezeichners (GPT =
+ GUID-Partitionstabelle) oder der MBR-Signatur (Master Boot Record)
+ für den Datenträger, der den Fokus hat.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ Für MBR-Datenträger können Sie einen Wert mit einer
+ Länge von vier Bytes (DWORD) im Hexadezimalformat für die
+ Signatur angeben.
+
+ Für GPT-Datenträger können Sie einen GUID für den
+ Bezeichner angeben.
+
+ NOERR Nur für Skripting. Wenn ein Fehler auftritt, setzt DiskPart
+ die Verarbeitung von Befehlen fort, als sei der Fehler nicht
+ aufgetreten. Ohne den Parameter NOERR wird DiskPart bei
+ einem Fehler mit dem entsprechenden Fehlercode beendet.
+
+ Damit dieser Vorgang erfolgreich ausgeführt werden kann, muss ein
+ Datenträger ausgewählt sein. Der Befehl kann für Basisdatenträger und
+ dynamische Datenträger verwendet werden.
+
+Beispiel:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Polish
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Portugese
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Romanian
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Russian
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Albanian
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Turkish
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Chinese
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Taiwanese
-<Add UNIQUEID DISK command help text here>
+ Displays or sets the GUID partition table (GPT) identifier or master boot
+ record (MBR) signature for the disk with focus.
+
+Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+
+ ID={<DWORD> | <GUID>}
+
+ For MBR disks, you can specify a four-byte (DWORD) value in
+ hexadecimal form for the signature.
+
+ For GPT disks, specify a GUID for the identifier.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ A disk must be selected for this operation to succeed. This command works
+ on basic and dynamic disks.
+
+Example:
+
+ UNIQUEID DISK
+ UNIQUEID DISK ID=5f1b2c36
+ UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.