Project

General

Profile

Actions

Cleanup #12706

closed

ceph-disk should use /sys/dev/block/maj:min/partition

Added by Loïc Dachary over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph-disk should use /sys/dev/block/maj:min/partition to figure out if a device is a partition instead of iterating over /sys/block, because it's simpler and more robust.

Actions #2

Updated by Loïc Dachary over 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Loïc Dachary
Actions

Also available in: Atom PDF