| 213 | |
| 214 | public: |
| 215 | explicit MountRootResolver(const std::vector<MountInfo>& mounts) { |
| 216 | for (const auto& mount : mounts) { |
| 217 | if (mount.getRoot() == "/") { |
| 218 | dmm[mount.getDev()] = mount.getMountPoint(); |
| 219 | } |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | ~MountRootResolver() = default; |
| 224 |