mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
2ba6b09754
Add the 'list volume' and 'select volume' commands
21 lines
546 B
C
21 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;
|
|
}
|