Revision e51db2a6 lib/objects.py
b/lib/objects.py | ||
---|---|---|
411 | 411 |
irrespective of their status. For such devices, we return this |
412 | 412 |
path, for others we return None. |
413 | 413 |
|
414 |
@warning: The path returned is not a normalized pathname; callers |
|
415 |
should check that it is a valid path. |
|
416 |
|
|
414 | 417 |
""" |
415 | 418 |
if self.dev_type == constants.LD_LV: |
416 | 419 |
return "/dev/%s/%s" % (self.logical_id[0], self.logical_id[1]) |
Also available in: Unified diff