mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
Merge #227
227: Add support for /dev/mapper LVM partitions in deviceNumbering r=Lassulus a=seirl Co-authored-by: Antoine Pietri <antoine.pietri1@gmail.com>
This commit is contained in:
commit
35c3426fec
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ rec {
|
|||
"${dev}p${toString index}" # /dev/nvme0n1p1 style
|
||||
else if match "/dev/md/.+" dev != null then
|
||||
"${dev}${toString index}" # /dev/md/raid1 style
|
||||
else if match "/dev/mapper/.+" dev != null then
|
||||
"${dev}${toString index}" # /dev/mapper/vg-lv1 style
|
||||
else
|
||||
abort ''
|
||||
${dev} seems not to be a supported disk format. Please add this to disko in https://github.com/nix-community/disko/blob/master/types/default.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue