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

is a file or directory which specifies the location and settings for the repositories used by the current system. It refers to the Gentoo repository and perhaps overlays used on a system.

格式

 * File names can be arbitrary strings of characters with or without suffix, except for expected by.
 * 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 custom repository 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 Gentoo repository 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
 * Using the gentoo git checkout as your local tree

外部资源

 * Portage Sync news announcement (2015-02-04)
 * rsync.gentoo.org rsync modules: gentoo-repo-changelog added, gentoo-x86-portage & gentoo-sec discontinued.