#include <Partition.h>
Inheritance diagram for Partition:
Public Member Functions | |
Partition (string partition_name) | |
virtual | ~Partition () |
virtual int | status () |
virtual void | kill_format () |
virtual bool | get_progress_status (double &percent) |
virtual void | format (YCPList options, ExternalProgram::Stderr_Disposition stderr_disp=ExternalProgram::Stderr_To_Stdout)=0 |
Protected Attributes | |
string | partition_name |
ExternalProgram * | process |
int | exit_code |
|
Create an new instance. |
|
Clean up. |
|
Run mke2fs with the specified arguments and handle stderr. Implemented in Ext2_Partition, Fat_Partition, Jfs_Partition, Reiser_Partition, and Xfs_Partition. |
|
Read progress indicator of the makefs process. Range of percent is from 0.0 to 100.0. Reimplemented in Ext2_Partition, Fat_Partition, Jfs_Partition, Reiser_Partition, and Xfs_Partition. |
|
Forcably kill the makefs process |
|
Return the exit status of the makefs process, closing the connection if not already done. |
|
The exit code of the makefs process, or -1 if not yet known. |
|
The name of the partition. |
|
The connection to the makefs process. |