1 | #pragma once |
---|---|
2 | |
3 | #include "unit.hpp" |
4 | |
5 | struct Mount : public Unit |
6 | { |
7 | using Unit::Unit; |
8 | std::string mount_point; |
9 | std::string fs_type; |
10 | std::string options; |
11 | std::string device; |
12 | |
13 | private: |
14 | bool do_start() override; |
15 | bool do_stop() override; |
16 | bool do_load(const toml::table &data) override; |
17 | void do_print(std::ostream &os) const override; |
18 | }; |
19 |