mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 05:18:55 +00:00
2ba6b09754
Add the 'list volume' and 'select volume' commands
22 lines
546 B
C
22 lines
546 B
C
/*
|
|
* PROJECT: ReactOS DiskPart
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: base/system/diskpart/rescan.c
|
|
* PURPOSE: Manages all the partitions of the OS in an interactive way.
|
|
* PROGRAMMERS: Lee Schroeder
|
|
*/
|
|
|
|
#include "diskpart.h"
|
|
|
|
BOOL rescan_main(INT argc, LPWSTR *argv)
|
|
{
|
|
ConResPuts(StdOut, IDS_RESCAN_START);
|
|
DestroyVolumeList();
|
|
DestroyPartitionList();
|
|
CreatePartitionList();
|
|
CreateVolumeList();
|
|
ConResPuts(StdOut, IDS_RESCAN_END);
|
|
|
|
return TRUE;
|
|
}
|