mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 15:32:11 +00:00
[DISKPART] Implements part of the FILESYSTEMS command
This commit is contained in:
parent
d3d5eae19e
commit
be88af54e7
13 changed files with 454 additions and 21 deletions
|
@ -8,7 +8,30 @@
|
|||
|
||||
#include "diskpart.h"
|
||||
|
||||
BOOL filesystems_main(INT argc, LPWSTR *argv)
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
||||
BOOL
|
||||
filesystems_main(
|
||||
_In_ INT argc,
|
||||
_In_ PWSTR *argv)
|
||||
{
|
||||
if (CurrentVolume == NULL)
|
||||
{
|
||||
ConResPuts(StdOut, IDS_SELECT_NO_VOLUME);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
ConPuts(StdOut, L"\n");
|
||||
ConResPuts(StdOut, IDS_FILESYSTEMS_CURRENT);
|
||||
ConPuts(StdOut, L"\n");
|
||||
ConResPrintf(StdOut, IDS_FILESYSTEMS_TYPE, (CurrentVolume->pszFilesystem == NULL) ? L"RAW" : CurrentVolume->pszFilesystem);
|
||||
ConResPrintf(StdOut, IDS_FILESYSTEMS_CLUSTERSIZE);
|
||||
|
||||
ConPuts(StdOut, L"\n");
|
||||
ConResPuts(StdOut, IDS_FILESYSTEMS_FORMATTING);
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue