MCPcopy Create free account
hub / github.com/archlinux/archinstall / disk_layouts

Function disk_layouts

archinstall/lib/disk/utils.py:103–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def disk_layouts() -> str:
104 try:
105 lsblk_output = get_lsblk_output()
106 except SysCallError as err:
107 warn(f'Could not return disk layouts: {err}')
108 return ''
109
110 return lsblk_output.model_dump_json(indent=4)
111
112
113def get_parent_device_path(dev_path: Path) -> Path:

Callers 5

_log_sys_infoFunction · 0.90
perform_installationFunction · 0.90
perform_installationFunction · 0.90
perform_installationFunction · 0.90
perform_installationFunction · 0.90

Calls 2

warnFunction · 0.90
get_lsblk_outputFunction · 0.85

Tested by

no test coverage detected