Linux Filesystem Organization

Revision as of 23:20, 17 December 2013 by Mdean (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
TODO: {{#todo:Finish this|Mike Dean|oe 4,oe 5,md,InProgress}}

Directories for Storing Files on a Machine

Temporary Files:

The standard ramdisk on an EMAC OE machine, used for storing temporary files of any kind, is located in:



There are two different directories commonly used for installing custom written software. The directories listed here are given according to the Free Desktop Standard, which is a standard by which most Linux systems conform.

This first directory is the standard location for executables which were written for a specific, individual machine:


The next directory is intended to be used for non-free (Company developed and owned) software:


Since the CompanyName is specific to the company which produced the software, this directory will often also contain some other standard subdirectories:


Configuration Files:

Configuration files should either go in:


Or, if a directory in /opt/ was created, in:


Initialization Scripts:

Scripts which are used to automatically start a program on boot and, if needed, stop it on shutdown, should be located here: