Skip to content

Commit

Permalink
Merge pull request #116 from dbungert/jammy-raid
Browse files Browse the repository at this point in the history
Do not recognize partitions of RAIDs as full RAIDs
  • Loading branch information
dbungert authored May 6, 2022
2 parents 639255e + e4115e8 commit 253acbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions probert/raid.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def probe(context=None, report=False):

raids = {}
for device in sane_block_devices(context):
if device.get('DEVTYPE') != 'disk':
continue
devname = device['DEVNAME']
if not os.path.basename(devname).startswith('md'):
continue
Expand Down

0 comments on commit 253acbe

Please sign in to comment.