Open main menu

DAVE Developer's Wiki β

Changes

Deploying Embedded Linux Systems

1,452 bytes added, 13:47, 10 May 2012
Root file systems
= Root file systems =
 
Linux needs a root file system: a root file system must contain everything needed to support the Linux system (applications, settings, data, ..). The [http://en.wikipedia.org/wiki/Root_directory root] file system is the file system that is contained on the same partition on which the root directory is located. The Linux kernel, at the end of its startup stage, mounts the root file system on the configured root device and finally launches the <code>/sbin/init</code>, the first user space process and "father" of all the other processes. An example of root file system is shown below:
 
<shell>
drwxr-xr-x 2 root root 4096 2011-05-03 11:23 bin/
drwxr-xr-x 2 root root 4096 2011-04-01 17:20 boot/
drwxr-xr-x 3 root root 4096 2011-07-07 12:17 dev/
drwxr-xr-x 44 root root 4096 2011-05-03 19:02 etc/
drwxr-xr-x 4 root root 4096 2011-04-01 17:35 home/
drwxr-xr-x 5 root root 4096 2011-05-03 11:23 lib/
drwxr-xr-x 12 root root 4096 2011-07-07 12:03 media/
drwxr-xr-x 6 root root 4096 2011-05-19 16:39 mnt/
drwxr-xr-x 2 root root 4096 2011-03-11 05:21 proc/
drwxr-xr-x 2 root root 4096 2011-05-03 11:23 sbin/
drwxr-xr-x 2 root root 4096 2011-03-11 05:21 sys/
lrwxrwxrwx 1 root root 8 2011-05-30 12:19 tmp -> /var/tmp/
drwxr-xr-x 11 root root 4096 2010-11-05 19:36 usr/
drwxr-xr-x 8 root root 4096 2010-12-12 11:30 var/
</shell>
 
== Strategies ==
customer
235
edits