From e8a3f0871c8d79a8522f17cae9d6f212596cf94a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 20 Mar 2020 15:57:58 +0100 Subject: explain --- rescue/bin/guessmounts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rescue/bin/guessmounts b/rescue/bin/guessmounts index 714d26251..55d18ef58 100755 --- a/rescue/bin/guessmounts +++ b/rescue/bin/guessmounts @@ -47,6 +47,8 @@ my @parts = map { $_->{device} = delete $_->{dev}; put_in_hash($_, fs::type::type_subpart_from_magic($_)); } fs::proc_partitions::read_raw(); + +# Basically doing fsedit::raids(): my ($raid_parts, $normal_parts) = partition { isRawRAID($_) } @parts; if (@$raid_parts) { -- cgit v1.2.1