зеркало из https://github.com/microsoft/lisa.git
Regex to fix mount issue
This commit is contained in:
Родитель
3c0af6b2cb
Коммит
5d05295c05
|
@ -72,8 +72,9 @@ class Mount(Tool):
|
|||
)
|
||||
|
||||
# /dev/da1p1 on /mnt/resource (ufs, local, soft-updates)
|
||||
# zroot/ROOT/default on / (zfs, local, nfsv4acls)
|
||||
_partition_info_regex_bsd = re.compile(
|
||||
r"\s*/dev/(?P<name>.*)\s+on\s+(?P<mount_point>.*)\s+"
|
||||
r"\s*(?:\/dev\/|zroot\/)(?P<name>.*)\s+on\s+(?P<mount_point>.*?)\s+"
|
||||
r"(\((?P<type>.*),(?P<options>.*)\))"
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче