Observation/Suggestion in rawhide

Sachin ascii79 at gmail.com
Tue Mar 31 15:49:50 UTC 2009


I want exactly what Seth and Uwe are saying.


On Tue, Mar 31, 2009 at 10:20 AM, Seth Vidal <skvidal at fedoraproject.org>wrote:

>
>
> On Tue, 31 Mar 2009, James Antill wrote:
>
>  On Mon, 2009-03-30 at 23:37 -0500, Sachin wrote:
>>
>>> Hi
>>>
>>> Suggestion
>>>
>>> 1) There should be option called --size in yum which can restrict the
>>> space which can be used yum. This would be beneficial to machine with
>>> low disk space.
>>>
>>
>> This seems like a bad idea, we already do:
>>
>>           dirstat = os.statvfs(po.repo.pkgdir)
>>           if (dirstat.f_bavail * dirstat.f_bsize) <= long(po.size):
>>               adderror(po, _('Insufficient space in download directory
>> %s\n'
>>                       "    * free   %s\n"
>>                       "    * needed %s") %
>>
>> ...which is done as we download each package. I'm not sure exactly what
>> feature you want, but I assume something like doing the above check
>> before we download anything based on "expected total download size" and
>> then maybe removing some space from what we count as "free"?
>>
>>
> I think Sachin wants it to batch the updates in size.
> So you do them in batches of 1gb installed + downloaded space at a time.
>
> -sv
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090331/52e280b0/attachment.htm>


More information about the fedora-devel-list mailing list