| Summary: | WISH: Limit download rate option in the emerge command | ||
|---|---|---|---|
| Product: | [OLD] Docs-user | Reporter: | Edulix <edulix> |
| Component: | Portage User Guide | Assignee: | Sven Vermeulen (RETIRED) <swift> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | docs-team, mholzer, rajiv |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Edulix
2003-01-05 11:38:05 UTC
FETCHCOMMAND in /etc/make.{conf,globals} takes care of this ...
docs-team: maybe you could add this into faq I know that fetchcommand take care of this and I have mentioned it in the post, I was searching something more. No. Do it in make.conf. i think we should at least update make.conf to include the following (just before the "# Lukemftp..." line). this way, users will know how they can rate-limit downloads:
# Default fetch command (5 tries, passive ftp for firewall compatibility)
#FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
#RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
#
# Using wget, ratelimiting downloads
#FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
#RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}"
carpaski: if not, reassign the bug to me and i'll add it to the faq.
Added to cvs. rajiv: You should probably add it to the faq anyway. a little note about this needs to be added to the portage guide. I'll add a chapter to the Portage User Guide (portage-user.xml) which talks about changing portage's behaviour. I will only mention these things briefly by giving an overview of the variables, what they stand for and with some small examples (such as the download rate for FETCHCOMMAND). For more in-depth information on Portage, the user is always welcome to read the Portage Manual (portage-manual.xml). Note added. Closing bug. |