(self, path="")
| 409 | |
| 410 | # get path with volume information |
| 411 | def rpath(self, path=""): |
| 412 | # warn if path contains volume information |
| 413 | if (path.startswith("%") or path.startswith("0:")) and not self.fuzz: |
| 414 | output().warning("Do not refer to disks directly, use chvol.") |
| 415 | # in fuzzing mode leave remote path as it is |
| 416 | if self.fuzz: |
| 417 | return path |
| 418 | # prepend volume information to virtual path |
| 419 | return self.vol + self.vpath(path) |
| 420 | |
| 421 | # get normalized pathname |
| 422 | def normpath(self, path): |