24 #ifndef STORAGE_DASD_H 25 #define STORAGE_DASD_H 28 #include "storage/Devices/Partitionable.h" 61 unsigned long long size);
75 std::string get_bus_id()
const;
76 void set_bus_id(std::string bus_id);
78 bool is_rotational()
const;
104 const Impl& get_impl()
const;
106 virtual Dasd* clone()
const override;
115 bool is_dasd(
const Device* device);
A physical DASD device.
Definition: Dasd.h:53
DasdType
The DASD type.
Definition: Dasd.h:37
static Dasd * find_by_name(Devicegraph *devicegraph, const std::string &name)
Find a Dasd by its name.
A start/length pair with a block size.
Definition: Region.h:73
The master container of the libstorage.
Definition: Devicegraph.h:153
Dasd * to_dasd(Device *device)
Converts pointer to Device to pointer to Dasd.
DasdFormat
The layout with which the ECKD DASD was formatted.
Definition: Dasd.h:45
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
static std::vector< Dasd * > get_all(Devicegraph *devicegraph)
Get all Dasds.
Definition: Partitionable.h:40
The storage namespace.
Definition: Actiongraph.h:37