https://wiki.st.com/stm32mpu-ecosystem-v2/index.php?title=File_Hierarchy_Standard_(FHS)&feed=atom&action=history
File Hierarchy Standard (FHS) - Revision history
2024-03-29T13:20:47Z
Revision history for this page on the wiki
MediaWiki 1.31.16
https://wiki.st.com/stm32mpu-ecosystem-v2/index.php?title=File_Hierarchy_Standard_(FHS)&diff=66284&oldid=prev
Jean Christophe Trotin at 14:17, 16 January 2020
2020-01-16T14:17:05Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:17, 16 January 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><noinclude></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">{{ArticleMainWriter | Jean-PhilippeR}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">{{ReviewersList | SebastienG, NathalieS, ChristopheP, RomualdJ, DenisH}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">{{ArticleApprovedVersion | Jean-PhilippeR | Jean-ChristopheT,ChristopheP,RomualdJ,DenisH | No previous approved version | PhilipS - 15Jan'19 - 10271 | 16Jan'19}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[Category:OpenSTLinux filesystem|00]]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></noinclude></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">'''SUMMARY '''<br></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This article lists and describes the OpenSTLinux file-system hierarchy (Weston and core).</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This article lists and describes the OpenSTLinux file-system hierarchy (Weston and core).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l100" >Line 100:</td>
<td colspan="2" class="diff-lineno">Line 91:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==References==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==References==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><references/></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><references/></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><noinclude></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:OpenSTLinux filesystem|00]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{PublicationRequestId | 10271 | 2019-01-16 | PhilipS}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></noinclude></ins></div></td></tr>
</table>
Jean Christophe Trotin
https://wiki.st.com/stm32mpu-ecosystem-v2/index.php?title=File_Hierarchy_Standard_(FHS)&diff=48844&oldid=prev
Frq08988 at 17:44, 16 January 2019
2019-01-16T17:44:31Z
<p></p>
<p><b>New page</b></p><div><noinclude><br />
{{ArticleMainWriter | Jean-PhilippeR}}<br />
{{ReviewersList | SebastienG, NathalieS, ChristopheP, RomualdJ, DenisH}}<br />
{{ArticleApprovedVersion | Jean-PhilippeR | Jean-ChristopheT,ChristopheP,RomualdJ,DenisH | No previous approved version | PhilipS - 15Jan'19 - 10271 | 16Jan'19}}<br />
<br />
[[Category:OpenSTLinux filesystem|00]]<br />
</noinclude><br />
<br />
'''SUMMARY '''<br><br />
This article lists and describes the OpenSTLinux file-system hierarchy (Weston and core).<br />
<br />
== Introduction ==<br />
Linux<sup>&reg;</sup> is a file-oriented operating system. This means that any application, library, or other information related, for example, to configurations and running applications is stored in files only.<br />
<br />
The {{highlight|Filesystem Hierarchy Standard (FHS)}} defines the directory structure and directory contents in Linux distributions.<br><br />
It is maintained by the Linux Foundation. {{highlight|The latest version is 3.0, released on June 3<sup>rd</sup> 2015<ref> http://refspecs.linuxfoundation.org/</ref>}}<br />
<br />
The main parts described by the FHS are:<br />
* the physical filesystem: any [[:category:Mass storage|mass storage]] devices (NAND/eMMC/... partitions, USB key partitions, and so on)<br />
* [[Pseudo filesystem|pseudo filesystem]]: created dynamically at boot-up (and/or at runtime) to store various information and configurations related to the software being run<br />
* remote filesystem: rootfs can contain links to a network filesystem<br />
<br />
OpenSTLinux images respect the latest FHS definition: 3.0<br />
<br />
== Root filesystem content ==<br />
*The filesystem root of any Linux Distribution (OpenSTLinux included) is named '/' or 'root' (''do not confuse with the 'root' super user name'').<br />
<br />
There are no files in the root path, only directories that shape the Linux FHS, as listed below:<br />
{|<br />
|-<br />
|bin/<br />
|Essential command binaries<br />
|-<br />
|boot/<br />
|Static boot loader files<br />
|-<br />
|dev/<br />
|Device files ([[Pseudo_filesystem#devtmpfs|''temporary filessytem devtmpfs'']])<br />
|-<br />
|etc/<br />
|Host-specific system configuration<br />
|-<br />
|lib/<br />
|Essential shared libraries and kernel modules<br />
|-<br />
|media/<br />
|Mount point for removable media<br />
|-<br />
|mnt/<br />
|Mount point for temporarily mounting a filesystem <br />
|-<br />
|proc/<br />
|Kernel and process information ([[Pseudo_filesystem#procfs (/proc) - Kernel_and_process_information|''pseudo filesystem procfs'']])<br />
|-<br />
|opt/<br />
|Add-on application software packages<br />
|-<br />
|run/<br />
|Data relevant to running processes<br />
|-<br />
|sbin/<br />
|Essential system binaries<br />
|-<br />
|sys/<br />
|Kernel and system information ([[Pseudo filesystem#sysfs (/sys) - System filesystem|''pseudo filesystem sysfs'')]])<br />
|-<br />
|srv/<br />
|Data for system-provided services <br />
|-<br />
|tmp/<br />
|Temporary files<br />
|-<br />
|usr/<br />
|Secondary filesystem-hierarchy <br />
|-<br />
|var/<br />
|Variable data<br />
|}<br />
<br />
*As a standard Linux distribution, the OpenSTLinux distribution includes the optional user directories:<br />
{|<br />
|-<br />
|/home<br />
|User home directories (''optional'')<br />
|-<br />
|/root<br />
|Home directory for the root user (''optional'')<br />
|}<br />
<br />
Details of the directory purpose, content or sub-hierarchy can be found in the official documentation: [http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html FHS-3.0]<br />
<br />
*OpenSTLinux also integrates a vendorfs filesystem, mounted on a dedicated Flash-memory partition (''that is, /dev/mmcblk0p5''):<br />
{|<br />
|-<br />
|/vendor<br />
|Vendor dedicated directory<br />
|}<br />
This directory allows the storage of specific vendor libraries.<br />
<br />
==References==<br />
<references/></div>
Frq08988