From Fedora Project Wiki
No edit summary
No edit summary
Line 2: Line 2:
== Filesystem Layout ==
== Filesystem Layout ==


Fedora follows the [http://www.pathname.com/fhs/ Filesystem Hierarchy Standard] with regards to filesystem layout. The FHS defines where files should be placed on the system. Fedora packages must follow the FHS. Any deviation from the FHS should be rationalized when the package is reviewed.
Fedora follows the [http://www.pathname.com/fhs/ Filesystem Hierarchy Standard] with regards to filesystem layout, with exceptions noted below. The FHS defines where files should be placed on the system.


{{admon/note||Some interpretations of the FHS say that the FHS does not prevent distributions from creating and using directories outside of the listed hierarchies (for instance, adding new toplevel directories to <code>/</code> or adding new directories under <code>/usr</code>). For the purposes of the Fedora Packaging Guidelines, new directories of this sort are not allowed unless listed in the Guidelines. If you feel the need for a new directory, please contact the FPC with a rationale for the directory and what category of software belongs in that directory. You may need to read the FHS to tell if a directory is already part of an FHS approved hierarchy.}}
=== Exceptions ===


There is a notable exceptions to this guideline for /usr/target (used for cross-compilers).
* Fedora allows cross-compilers to place files in <code>/usr/target</code>.
 
* Fedora does not allow new directories under <code>/usr</code> without FPC approval.


[[Category:Packaging guidelines drafts]]
[[Category:Packaging guidelines drafts]]

Revision as of 16:21, 12 May 2016

This page is a draft only
It is still under construction and content may change. Do not rely on the information on this page.

Filesystem Layout

Fedora follows the Filesystem Hierarchy Standard with regards to filesystem layout, with exceptions noted below. The FHS defines where files should be placed on the system.

Exceptions

  • Fedora allows cross-compilers to place files in /usr/target.
  • Fedora does not allow new directories under /usr without FPC approval.