|
|
unsigned int | get_number () const |
| |
|
const BlkDevice * | get_blk_device () const |
| | Get the BlkDevice used as backing device.
|
| |
|
bool | has_bcache_cset () const |
| | Returns true if a cache is attached.
|
| |
|
const BcacheCset * | get_bcache_cset () const |
| | Get the BcacheCset used as cache.
|
| |
|
Impl & | get_impl () |
| |
|
const Impl & | get_impl () const |
| |
|
virtual Bcache * | clone () const override |
| |
|
const std::string & | get_name () const |
| |
|
void | set_name (const std::string &name) |
| |
|
const Region & | get_region () const |
| |
|
void | set_region (const Region ®ion) |
| |
|
unsigned long long | get_size () const |
| |
|
void | set_size (unsigned long long size) |
| |
|
std::string | get_size_string () const |
| |
|
const std::string & | get_sysfs_name () const |
| |
|
const std::string & | get_sysfs_path () const |
| |
|
const std::vector< std::string > & | get_udev_paths () const |
| |
|
const std::vector< std::string > & | get_udev_ids () const |
| |
| const std::string & | get_dm_table_name () const |
| | Return device-mapper table name (dm-table-name for short). More...
|
| |
|
void | set_dm_table_name (const std::string &dm_table_name) |
| |
|
ResizeInfo | detect_resize_info () const override |
| |
|
Filesystem * | create_filesystem (FsType fs_type) |
| |
|
bool | has_filesystem () const |
| |
|
Filesystem * | get_filesystem () |
| |
|
const Filesystem * | get_filesystem () const |
| |
|
Encryption * | create_encryption (const std::string &dm_name) |
| | TODO parameter for encryption type? do all encryptions need a dm_name?
|
| |
|
bool | has_encryption () const |
| |
|
Encryption * | get_encryption () |
| |
|
const Encryption * | get_encryption () const |
| |
|
Impl & | get_impl () |
| |
|
const Impl & | get_impl () const |
| |
|
sid_t | get_sid () const |
| |
|
bool | operator== (const Device &rhs) const |
| |
|
bool | operator!= (const Device &rhs) const |
| |
|
bool | exists_in_devicegraph (const Devicegraph *devicegraph) const |
| | Checks if the device exists in the devicegraph.
|
| |
|
bool | exists_in_probed () const |
| | Checks if the device exists in the probed devicegraph.
|
| |
|
bool | exists_in_staging () const |
| | Checks if the device exists in the staging devicegraph.
|
| |
|
std::string | get_displayname () const |
| |
|
bool | has_children () const |
| |
|
size_t | num_children () const |
| |
|
bool | has_parents () const |
| |
|
size_t | num_parents () const |
| |
|
std::vector< Device * > | get_children () |
| |
|
std::vector< const Device * > | get_children () const |
| |
|
std::vector< Device * > | get_parents () |
| |
|
std::vector< const Device * > | get_parents () const |
| |
|
std::vector< Device * > | get_siblings (bool itself) |
| |
|
std::vector< const Device * > | get_siblings (bool itself) const |
| |
|
std::vector< Device * > | get_descendants (bool itself) |
| |
|
std::vector< const Device * > | get_descendants (bool itself) const |
| |
|
std::vector< Device * > | get_ancestors (bool itself) |
| |
|
std::vector< const Device * > | get_ancestors (bool itself) const |
| |
|
std::vector< Device * > | get_leaves (bool itself) |
| |
|
std::vector< const Device * > | get_leaves (bool itself) const |
| |
|
std::vector< Device * > | get_roots (bool itself) |
| |
|
std::vector< const Device * > | get_roots (bool itself) const |
| |
|
std::vector< Holder * > | get_in_holders () |
| |
|
std::vector< const Holder * > | get_in_holders () const |
| |
|
std::vector< Holder * > | get_out_holders () |
| |
|
std::vector< const Holder * > | get_out_holders () const |
| |
|
void | remove_descendants () |
| |
|
const std::map< std::string, std::string > & | get_userdata () const |
| |
|
void | set_userdata (const std::map< std::string, std::string > &userdata) |
| |
|
Impl & | get_impl () |
| |
|
const Impl & | get_impl () const |
| |
|
void | save (xmlNode *node) const |
| |