|
|
const std::string & | get_path () const |
| |
| void | set_path (const std::string &path) |
| |
|
MountByType | get_mount_by () const |
| | Get the mount-by method.
|
| |
|
void | set_mount_by (MountByType mount_by) |
| | Set the mount-by method.
|
| |
|
void | set_default_mount_by () |
| | Set the mount-by method to the global default, see Storage::get_default_mount_by().
|
| |
| std::vector< MountByType > | possible_mount_bys () const |
| | Returns the possible mount-by methods for the mount point. More...
|
| |
|
const std::vector< std::string > & | get_mount_options () const |
| | Get the mount options.
|
| |
| void | set_mount_options (const std::vector< std::string > &mount_options) |
| | Set the mount options. More...
|
| |
| void | set_default_mount_options () |
| | Set the mount options to the default mount options. More...
|
| |
|
FsType | get_mount_type () const |
| | Get the filesystem type used to mount the device, as specified in fstab(5) and/or in the mount(8) command.
|
| |
| void | set_mount_type (FsType mount_type) |
| | Set the filesystem type to be used to mount the device. More...
|
| |
| int | get_freq () const |
| | Get the freq field from fstab(5). More...
|
| |
| void | set_freq (int freq) |
| | Set the freq field. More...
|
| |
| int | get_passno () const |
| | Get the passno field from fstab(5). More...
|
| |
| void | set_passno (int passno) |
| |
|
bool | is_active () const |
| | Return whether the mount point is active (mounted).
|
| |
|
void | set_active (bool active) |
| | Sets whether the mount point is active (mounted).
|
| |
|
bool | is_in_etc_fstab () const |
| | Query whether the mount point is present (probed devicegraph) or will be present (staging devicegraph) in /etc/fstab.
|
| |
|
void | set_in_etc_fstab (bool in_etc_fstab) |
| | Set whether the mount point will be present in /etc/fstab.
|
| |
| bool | has_mountable () const |
| | Checks whether the mount point has a mountable. More...
|
| |
| Mountable * | get_mountable () |
| | Return the mountable of the mount point. More...
|
| |
| const Mountable * | get_mountable () const |
| | Return the mountable of the mount point. More...
|
| |
| Filesystem * | get_filesystem () |
| | Return the filesystem of mountable of the mount point. More...
|
| |
| const Filesystem * | get_filesystem () const |
| | Return the filesystem of mountable of the mount point. More...
|
| |
| void | immediate_activate () |
| | Immediately activate (mount) the mount point. More...
|
| |
| void | immediate_deactivate () |
| | Immediately deactivate (unmount) the mount point object. More...
|
| |
|
Impl & | get_impl () |
| |
|
const Impl & | get_impl () const |
| |
|
virtual MountPoint * | clone () const override |
| |
|
sid_t | get_sid () const |
| |
|
bool | operator== (const Device &rhs) const |
| |
|
bool | operator!= (const Device &rhs) const |
| |
| Device * | copy_to_devicegraph (Devicegraph *devicegraph) const |
| | Copies the device to the devicegraph. More...
|
| |
|
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.
|
| |
|
bool | exists_in_system () const |
| | Checks if the device exists in the system devicegraph.
|
| |
|
std::string | get_displayname () const |
| |
| ResizeInfo | detect_resize_info () const |
| | Detect the resize info of the device. More...
|
| |
|
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) |
| |
|
Devicegraph * | get_devicegraph () |
| |
|
const Devicegraph * | get_devicegraph () const |
| |
|
Impl & | get_impl () |
| |
|
const Impl & | get_impl () const |
| |
|
void | save (xmlNode *node) const |
| |
Class to represent a mount point.