Eric Kohl
d144fe350a
[DISKPART] Refactor the GPT partition creation code
...
- Move common partition creation code to a separate function.
2026-02-15 16:26:08 +01:00
Eric Kohl
b03c40f440
[DISKPART] Disable all unimplemented commands
2026-02-08 12:38:34 +01:00
Eric Kohl
44609d1398
[DISKPART] Ignore non-mounted GPT partitions in DismountVolume
2026-02-07 14:44:05 +01:00
Eric Kohl
ece92ee517
[DISKPART] Improve the PrintSize function
...
- Pass the output buffer size to the PrintSize function.
- Use StringCchPrintfW instead of swprintf.
2026-02-07 12:24:22 +01:00
Eric Kohl
b2c1dd83d5
[DISKPART] Fix the drive letter deletion code
...
The remove and assign commands work properly now.
2026-02-02 22:11:05 +01:00
Eric Kohl
5fd860b383
[DISKPART] Print proper success message in the assign command
2026-02-01 23:53:41 +01:00
Eric Kohl
e7de59ba45
[DISKPART] Add missing trailing CRLF
2026-01-18 09:12:12 +01:00
Eric Kohl
6da5483392
[DISKPART] Make size units translatable
2026-01-18 01:23:20 +01:00
Eric Kohl
df01aa6241
[DISKPART] Replace the hardcoded volume type strings
2026-01-13 23:30:42 +01:00
Eric Kohl
b5097211c8
[DISKPART] Replace hardcoded strings and fix typos
2026-01-13 21:16:37 +01:00
Eric Kohl
702f9c6f77
[DISKPART] Prevent drive letter changes on boot or system volumes
2026-01-12 19:35:38 +01:00
Eric Kohl
a40bd103fc
[DISKPART] Prevent deletion of boot and system partitions
2026-01-12 15:30:19 +01:00
Eric Kohl
ced7700392
[DISKPART] Fix volume info retrieval
...
- Pass boot volume info to the (boot) disk.
- Replace some hard coded strings.
2026-01-11 17:36:55 +01:00
Eric Kohl
41d6aeb72a
[DISKPART] Identify system and boot volumes
2026-01-10 17:54:55 +01:00
Eric Kohl
b84fa499e7
[DISKPART] Implement the format command
...
- A lot of volume manager and mount manager related stuff is still missing.
- The label is not set yet.
2026-01-05 23:15:05 +01:00
Eric Kohl
4cf877796b
[DISKPART] Improve 'list volume' command
...
Add output formats for the status and info columns.
2026-01-04 21:34:59 +01:00
Eric Kohl
9f69e8cfab
[DISKPART] Initialize unrecognized volumes as partitions
2026-01-01 22:59:35 +01:00
Eric Kohl
d2ae286c6b
[DISKPART] Command function return EXIT_CODE instead of BOOL
...
This simplifies the implementation of the NOERR option.
2026-01-01 13:46:34 +01:00
Eric Kohl
e2c3a6e624
[DISKPART] Move mount manager functions into a separate file
...
- Move the existing function from automount.c
- Implement required function for the assign and remove commands.
Deleting a drive letter works, until the next reboot.
Assigning a new drive letter fails.
2025-12-31 15:24:27 +01:00
Eric Kohl
f6a86c1ab3
[DISKPART] Implement the assign command
...
- Also improve the parameter checks of the remove command.
The assign command does not work, because the SetVolumeMountPointW function is not implemented yet.
2025-12-28 20:35:27 +01:00
Eric Kohl
31b091cbd6
[DISKPART] Improve the drive letter query
...
And disable some debug output
2025-12-27 21:47:38 +01:00
Eric Kohl
7675b0e62a
[DISKPART] Implement the remove command
...
The remove command does not work, because the DeleteVolumeMountPointW function is not implemented yet.
2025-12-27 19:11:06 +01:00
Eric Kohl
abc2acf5a7
[DISKPART] Implement the filesystems command
...
Limitations with respect to available file systems and cluster sizes are not implemented yet.
2025-12-26 13:32:03 +01:00
Eric Kohl
cb8278b5f3
[DISKPART] Add help text for the gpt command
2025-12-21 12:26:35 +01:00
Eric Kohl
c4c8e5ef3f
[DISKPART] Check for the noerr option first
2025-12-21 11:47:05 +01:00
Eric Kohl
86ec64b2b1
[DISKPART] Implement the automount command
2025-12-21 09:33:59 +01:00
Eric Kohl
8e952f1510
[DISKPART] Show more disk details
...
- Show device description, status and bus type in the 'detail disk' command.
2025-12-20 16:26:15 +01:00
Eric Kohl
3f96772154
[DISKPART] Use the PSDK diskguid.h instead of our own guid.h
2025-12-19 22:39:34 +01:00
Eric Kohl
5047e62e3d
[DISKPART] Implement the gpt command keep the partition number up to date
2025-12-16 23:55:20 +01:00
Eric Kohl
ccfb061a2b
[DISKPART] list partition: Show a message when there are no partitions on a disk
2025-12-15 20:36:51 +01:00
Eric Kohl
182715ed50
[DISKPART] Prevent EFI- and MSR-Partitions from accidental deletion
2025-12-15 20:11:59 +01:00
Eric Kohl
bf8741d208
[DISKPART] Implement the 'create partition efi' and 'create partition msr' commands
2025-12-14 20:23:03 +01:00
Eric Kohl
74999e6670
[DISKPART] Replace some magic values and enter the Terabyte era
2025-12-14 18:19:26 +01:00
Eric Kohl
48fbf273fb
[DISKPART] Calculate the free disk space for the 'list disk' command
2025-12-14 13:00:53 +01:00
Eric Kohl
f206063280
[DISKPART] Implement creation and deletion of GPT partitions
...
- Implement creation and deletion of GPT partitions.
- Adjust the active, clean, detail, inactive, list, select, setid and uniqueid
commands as needed.
- Add a 2^32 sector count limit for MBR partition tables.
2025-12-13 18:42:00 +01:00
Eric Kohl
b05a983f0c
[DISKPART] The active and inactive commands do not work on GPT disks
2025-12-08 00:44:25 +01:00
Eric Kohl
dd74eaf8cf
[DISKPART] Fix message IDs
2025-12-07 13:35:53 +01:00
Eric Kohl
5a224e277d
[DISKPART] GUID partition preparations
...
- Improve parameter handling in the setid and uniqueid commands.
- Improve error messages.
2025-12-07 12:25:25 +01:00
Eric Kohl
920153534b
[DISKPART] Implement the 'convert mbr' and 'convert gpt' commands
...
- Show Disk UUIDs in the 'detail disk' and 'uniqueid disk' commands.
2025-12-07 10:10:10 +01:00
Stanislav Motylkov
1f3f733f6e
[DISKPART] Fix copypasta. Addendum to c197e7c080
2025-12-06 17:16:55 +01:00
Eric Kohl
c197e7c080
[DISKPART] Prepare for GPT support
...
- Use DRIVE_LAYOUT_INFORMATION_EX instead of DRIVE_LAYOUT_INFORMATION.
- Show GPT disks in the 'list disk' command.
2025-12-06 16:41:29 +01:00
Hervé Poussineau
85cde17c46
[DISKPART] Fix wrong '\n' in Italian translation
...
This fixes some warnings:
- it-IT.rc:115: unrecognized escape sequence
- it-IT.rc:160: unrecognized escape sequence
2025-06-08 08:58:59 +02:00
Gabriele Lo Re
9d8b342e60
[BASE] Add and improve Italian (it-IT) translation ( #7893 )
2025-06-02 21:40:46 +02:00
Eric Kohl
9382aa286c
[DISKPART] Fix typos in string resources for the SELECT command
2024-12-03 00:40:21 +01:00
Eric Kohl
647d351278
[DISKPART] Use the MBR_MAGIC to check for a valid MBR
2024-12-01 21:32:53 +01:00
Eric Kohl
8972448127
[DISKPART] Fix a comment
2024-12-01 20:56:21 +01:00
Eric Kohl
1b5e679282
[DISKPART] Implement 'select disk system' and 'select disk next'
2024-12-01 19:33:16 +01:00
vsaucing
ad827eaa71
[DISKPART] Update Turkish (tr-TR) translation ( #7292 )
...
Fixed errors.
2024-11-02 21:44:15 +01:00
Timo Kreuzer
e4930be4ff
[REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp
...
Stop using non-conforming wcsicmp, stricmp, strcasecmp
2024-10-20 14:12:25 +03:00
Timo Kreuzer
0c2cdcae83
[REACTOS] Add missing line breaks at end of file
2024-10-06 10:47:11 +03:00