/etc/portage/repos.conf/zh-cn

is the directory of package repositories like the Gentoo Portage tree or overlays used on a system. It can be a file or directory of files that specifies repository-specific configuration information.

格式

 * Comments begin with  (no inline comments).
 * Configuration of each repository is specified in a separate file or section starting with . It is recommended that   is the same as the name given in the repo_name file.
 * Attributes are specified in  format.

本地 Overlay
For further information see the Overlay/Local_overlay article.

单个文件的repos.conf
For an example of as a monolithic file, run this command and search for the  section:

仓库列表
To see a compact list of repositories, sorted by ascending priority numbers and formatted for easy reading:

To see a detailed list of repositories, without any formatting:

参考

 * Validated Portage tree snapshots in the Gentoo Handbook
 * Overview over the new Portage sync system
 * Layman - Using 'repos.conf' method in the Layman article
 * Overlays user guide
 * Repository format
 * Repository mirror and Continuous Integration
 * Query repository information in the Portageq article

外部资源

 * Portage Sync news announcement (2015-02-04)