search for: has_boot

Displaying 2 results from an estimated 2 matches for "has_boot".

Did you mean: fastboot
2017 Nov 06
2
[PATCH] v2v: rework free space check in guest mountpoints
...44 --- a/v2v/v2v.ml +++ b/v2v/v2v.ml @@ -415,34 +415,35 @@ and print_mpstat chan { mp_dev = dev; mp_path = path; *) and check_guest_free_space mpstats = message (f_"Checking for sufficient free disk space in the guest"); + + (* Check whether /boot has its own mount point. *) + let has_boot = List.exists (fun { mp_path } -> mp_path = "/boot") mpstats in + + let needed_bytes_for_mp = function + | "/boot" + | "/" when not has_boot -> + (* We usually regenerate the initramfs, which has a + * typical size of 20-30MB. Hence: + *)...
2017 Nov 06
0
Re: [PATCH] v2v: rework free space check in guest mountpoints
...l > @@ -415,34 +415,35 @@ and print_mpstat chan { mp_dev = dev; mp_path = path; > *) > and check_guest_free_space mpstats = > message (f_"Checking for sufficient free disk space in the guest"); > + > + (* Check whether /boot has its own mount point. *) > + let has_boot = List.exists (fun { mp_path } -> mp_path = "/boot") mpstats in > + > + let needed_bytes_for_mp = function > + | "/boot" > + | "/" when not has_boot -> > + (* We usually regenerate the initramfs, which has a > + * typical size...