We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21f06e commit a41bacbCopy full SHA for a41bacb
src/ugrd/fs/mounts.py
@@ -1,5 +1,5 @@
1
__author__ = 'desultory'
2
-__version__ = '4.15.2'
+__version__ = '4.15.3'
3
4
from pathlib import Path
5
from zenlib.util import contains, pretty_print
@@ -275,7 +275,7 @@ def get_dm_info(self) -> dict:
275
return
276
277
for dm_device in (Path('/sys/devices/virtual/block').iterdir()):
278
- if dm_device.name.startswith('dm-'):
+ if dm_device.name.startswith('dm-') or dm_device.name.startswith('md'):
279
maj, minor = (dm_device / 'dev').read_text().strip().split(':')
280
self['_dm_info'][dm_device.name] = {'name': (dm_device / 'dm/name').read_text().strip(),
281
'major': maj,
0 commit comments