I want exactly what Seth and Uwe are saying.<br>
<br><br><div class="gmail_quote">On Tue, Mar 31, 2009 at 10:20 AM, Seth Vidal <span dir="ltr"><<a href="mailto:skvidal@fedoraproject.org">skvidal@fedoraproject.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
On Tue, 31 Mar 2009, James Antill wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2009-03-30 at 23:37 -0500, Sachin wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
Suggestion<br>
<br>
1) There should be option called --size in yum which can restrict the<br>
space which can be used yum. This would be beneficial to machine with<br>
low disk space.<br>
</blockquote>
<br>
This seems like a bad idea, we already do:<br>
<br>
           dirstat = os.statvfs(po.repo.pkgdir)<br>
           if (dirstat.f_bavail * dirstat.f_bsize) <= long(po.size):<br>
               adderror(po, _('Insufficient space in download directory %s\n'<br>
                       "    * free   %s\n"<br>
                       "    * needed %s") %<br>
<br>
...which is done as we download each package. I'm not sure exactly what<br>
feature you want, but I assume something like doing the above check<br>
before we download anything based on "expected total download size" and<br>
then maybe removing some space from what we count as "free"?<br>
<br>
</blockquote>
<br></div>
I think Sachin wants it to batch the updates in size.<br>
So you do them in batches of 1gb installed + downloaded space at a time.<br><font color="#888888">
<br>
-sv</font><div><div></div><div class="h5"><br>
<br>
-- <br>
fedora-devel-list mailing list<br>
<a href="mailto:fedora-devel-list@redhat.com" target="_blank">fedora-devel-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br>
</div></div></blockquote></div><br>