24#ifndef STORAGE_FILESYSTEM_H
25#define STORAGE_FILESYSTEM_H
30#include "storage/Filesystems/Mountable.h"
40 class Filesystem :
public Mountable
90 const Impl& get_impl()
const;
94 Filesystem(Impl* impl);
An abstract base class for storage devices.
Definition Device.h:82
The main container of the libstorage-ng.
Definition Devicegraph.h:170
Definition Filesystem.h:41
bool has_space_info() const
Query whether the SpaceInfo was already detected or set.
SpaceInfo detect_space_info() const
Detect the SpaceInfo.
FsType get_type() const
Get the filesystem type.
static std::vector< Filesystem * > get_all(Devicegraph *devicegraph)
Get all Filesystems.
static std::vector< const Filesystem * > get_all(const Devicegraph *devicegraph)
Get all Filesystems.
void set_space_info(const SpaceInfo &space_info)
Set the SpaceInfo.
Definition FreeInfo.h:331
The storage namespace.
Definition Actiongraph.h:40
Filesystem * to_filesystem(Device *device)
Converts pointer to Device to pointer to Filesystem.
bool is_filesystem(const Device *device)
Checks whether device points to a Filesystem.