1c2c66affSColin Finck /* 2c2c66affSColin Finck * PROJECT: ReactOS DiskPart 3c2c66affSColin Finck * LICENSE: GPL - See COPYING in the top level directory 4c2c66affSColin Finck * FILE: base/system/diskpart/filesystems.c 5c2c66affSColin Finck * PURPOSE: Manages all the partitions of the OS in an interactive way. 6c2c66affSColin Finck * PROGRAMMERS: Lee Schroeder 7c2c66affSColin Finck */ 8c2c66affSColin Finck 9c2c66affSColin Finck #include "diskpart.h" 10c2c66affSColin Finck 11*be88af54SEric Kohl #define NDEBUG 12*be88af54SEric Kohl #include <debug.h> 13*be88af54SEric Kohl 14*be88af54SEric Kohl 15*be88af54SEric Kohl BOOL 16*be88af54SEric Kohl filesystems_main( 17*be88af54SEric Kohl _In_ INT argc, 18*be88af54SEric Kohl _In_ PWSTR *argv) 19c2c66affSColin Finck { 20*be88af54SEric Kohl if (CurrentVolume == NULL) 21*be88af54SEric Kohl { 22*be88af54SEric Kohl ConResPuts(StdOut, IDS_SELECT_NO_VOLUME); 23*be88af54SEric Kohl return TRUE; 24*be88af54SEric Kohl } 25*be88af54SEric Kohl 26*be88af54SEric Kohl ConPuts(StdOut, L"\n"); 27*be88af54SEric Kohl ConResPuts(StdOut, IDS_FILESYSTEMS_CURRENT); 28*be88af54SEric Kohl ConPuts(StdOut, L"\n"); 29*be88af54SEric Kohl ConResPrintf(StdOut, IDS_FILESYSTEMS_TYPE, (CurrentVolume->pszFilesystem == NULL) ? L"RAW" : CurrentVolume->pszFilesystem); 30*be88af54SEric Kohl ConResPrintf(StdOut, IDS_FILESYSTEMS_CLUSTERSIZE); 31*be88af54SEric Kohl 32*be88af54SEric Kohl ConPuts(StdOut, L"\n"); 33*be88af54SEric Kohl ConResPuts(StdOut, IDS_FILESYSTEMS_FORMATTING); 34*be88af54SEric Kohl ConPuts(StdOut, L"\n"); 35*be88af54SEric Kohl 36c2c66affSColin Finck return TRUE; 37c2c66affSColin Finck } 38