libstorage-ng
Loading...
Searching...
No Matches
Public Member Functions | List of all members
storage::ProbeCallbacksV4 Class Referenceabstract
Inheritance diagram for storage::ProbeCallbacksV4:
[legend]
Collaboration diagram for storage::ProbeCallbacksV4:
[legend]

Public Member Functions

virtual bool ambiguity_partition_table_and_filesystem (const std::string &message, const std::string &what, const std::string &name, PtType pt_type, FsType fs_type) const =0
 This error callback is called when a partition table and a filesystem are found on a device.
 
virtual bool ambiguity_partition_table_and_luks (const std::string &message, const std::string &what, const std::string &name, PtType pt_type) const =0
 This error callback is called when a partition table and a LUKS are found on a device.
 
virtual bool ambiguity_partition_table_and_lvm_pv (const std::string &message, const std::string &what, const std::string &name, PtType pt_type) const =0
 This error callback is called when a partition table and a LVM PV are found on a device.
 
virtual bool unsupported_partition_table (const std::string &message, const std::string &what, const std::string &name, PtType pt_type) const =0
 This error callback is called when a known but unsupported partition table type, e.g.
 
virtual bool unsupported_filesystem (const std::string &message, const std::string &what, const std::string &name, FsType fs_type) const =0
 This error callback is called when a known but unsupported filesystem type, e.g.
 
- Public Member Functions inherited from storage::ProbeCallbacksV3
virtual void begin () const
 Called at the begin of probing.
 
virtual void end () const
 Called at the end of probing.
 
- Public Member Functions inherited from storage::ProbeCallbacksV2
virtual bool missing_command (const std::string &message, const std::string &what, const std::string &command, uint64_t used_features) const =0
 Callback for missing commands.
 
- Public Member Functions inherited from storage::Callbacks
virtual void message (const std::string &message) const =0
 Callback for progress messages.
 
virtual bool error (const std::string &message, const std::string &what) const =0
 Callback for errors.
 

Member Function Documentation

◆ ambiguity_partition_table_and_filesystem()

virtual bool storage::ProbeCallbacksV4::ambiguity_partition_table_and_filesystem ( const std::string &  message,
const std::string &  what,
const std::string &  name,
PtType  pt_type,
FsType  fs_type 
) const
pure virtual

This error callback is called when a partition table and a filesystem are found on a device.

See also
error()

◆ ambiguity_partition_table_and_luks()

virtual bool storage::ProbeCallbacksV4::ambiguity_partition_table_and_luks ( const std::string &  message,
const std::string &  what,
const std::string &  name,
PtType  pt_type 
) const
pure virtual

This error callback is called when a partition table and a LUKS are found on a device.

See also
error()

◆ ambiguity_partition_table_and_lvm_pv()

virtual bool storage::ProbeCallbacksV4::ambiguity_partition_table_and_lvm_pv ( const std::string &  message,
const std::string &  what,
const std::string &  name,
PtType  pt_type 
) const
pure virtual

This error callback is called when a partition table and a LVM PV are found on a device.

See also
error()

◆ unsupported_filesystem()

virtual bool storage::ProbeCallbacksV4::unsupported_filesystem ( const std::string &  message,
const std::string &  what,
const std::string &  name,
FsType  fs_type 
) const
pure virtual

This error callback is called when a known but unsupported filesystem type, e.g.

MINIX, is found. If blkid reports an (to libstorage-ng) unknown filesystem type, e.g. "super-fs", no error is reported. And surely there can be filesystem types not even blkid knows.

See also
error()

◆ unsupported_partition_table()

virtual bool storage::ProbeCallbacksV4::unsupported_partition_table ( const std::string &  message,
const std::string &  what,
const std::string &  name,
PtType  pt_type 
) const
pure virtual

This error callback is called when a known but unsupported partition table type, e.g.

AIX, is found. If parted reports an (to libstorage-ng) unknown partition table type, e.g. "super-pt", no error is reported. And surely there can be partition table types not even parted knows.

See also
error()

The documentation for this class was generated from the following file: