| 196 | } |
| 197 | |
| 198 | void parseMajorMinor(const std::string& mmstr) { |
| 199 | size_t sep = mmstr.find(':'); |
| 200 | if (sep != std::string::npos) { |
| 201 | int major = std::stoi(mmstr.substr(0, sep)); |
| 202 | int minor = std::stoi(mmstr.substr(sep + 1)); |
| 203 | dev = makedev(major, minor); |
| 204 | } else { |
| 205 | dev = 0; |
| 206 | } |
| 207 | } |
| 208 | }; |
| 209 | |
| 210 | class MountRootResolver { |
nothing calls this directly
no outgoing calls
no test coverage detected