FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 11-23-2009, 12:33 PM
Martin Sivak
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org