[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 2/2] Use fs with largest amount of freespace to store install.img



Hi, I've seen the discussion and I agree to the idea. But are we sure that all devices in that list are (should be) writable by us?

Martin

----- "Hans de Goede" <hdegoede redhat com> wrote:

> We are currently using the fs/mounpoint with the smallest amount of
> freespace when install.img needs to be transferred to the harddisk.
> Use the
> fs with the largest amount of freespace instead.
> ---
>  backend.py |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/backend.py b/backend.py
> index 5501ac8..b9c4e62 100644
> --- a/backend.py
> +++ b/backend.py
> @@ -164,8 +164,7 @@ class AnacondaBackend:
>  
>          free = anaconda.id.storage.fsFreeSpace
>          self._loopbackFile = "%s%s/rhinstall-install.img" %
> (anaconda.rootPath,
> -                                                            
> free[0][0])
> -
> +                                                         
> free[len(free)-1][0])
>          try:
>              win = anaconda.intf.waitWindow(_("Copying File"),
>                      _("Transferring install image to hard drive"))
> -- 
> 1.6.5.2
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]