|
NeKernel dev
|
Provide some useful processor features. More...
#include <BootKit.h>
Classes | |
| struct | BFileDescriptor |
| File entry for BDiskFormatFactory. More... | |
Public Member Functions | |
| BDiskFormatFactory ()=default | |
| ~BDiskFormatFactory ()=default | |
| Boolean | Format (const Char *part_name) |
| Format disk using partition name and blob. | |
| Bool | IsPartitionValid () |
| check if partition is good. | |
Private Attributes | |
| BootDev | fDiskDev |
Provide some useful processor features.
BootKit Drive Formatter.
|
explicitdefault |
|
default |
|
inline |
Format disk using partition name and blob.
Format disk with a specific partition scheme.
| Partition | part_name the target partition name. |
| blob | blobs array. |
| blob_sz | blobs array count. |
| True | disk has been formatted. |
| False | failed to format. |
| part_name | partition Name |
| True | disk has been formatted. |
| False | failed to format. |
|
inline |
check if partition is good.
|
private |