dev-manual: Cleaned up some "file system" "filesystem" terminology.
(From yocto-docs rev: 21e265746d59ed952e3c80aae565e8c1b792b2ba) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
33629797ad
commit
02c6732f9e
|
@ -2219,7 +2219,7 @@
|
||||||
<para>
|
<para>
|
||||||
The following list presents the overall steps you need to
|
The following list presents the overall steps you need to
|
||||||
consider and perform to create distributions with smaller
|
consider and perform to create distributions with smaller
|
||||||
filesystems, faster boot times, maintain your critical
|
root filesystems, faster boot times, maintain your critical
|
||||||
functionality, and avoid initial RAM disks:
|
functionality, and avoid initial RAM disks:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>Determine your goals and guiding
|
<listitem><para>Determine your goals and guiding
|
||||||
|
@ -2306,7 +2306,7 @@
|
||||||
<listitem><para><filename>ksize.py</filename>: Reports
|
<listitem><para><filename>ksize.py</filename>: Reports
|
||||||
component sizes for the kernel files.</para></listitem>
|
component sizes for the kernel files.</para></listitem>
|
||||||
<listitem><para><filename>dirsize.py</filename>: Reports
|
<listitem><para><filename>dirsize.py</filename>: Reports
|
||||||
component sizes for root filesystem.</para></listitem>
|
component sizes for the root filesystem.</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
This next tool and command helps you organize configuration
|
This next tool and command helps you organize configuration
|
||||||
fragments and view file dependencies in a human-readable form:
|
fragments and view file dependencies in a human-readable form:
|
||||||
|
@ -2346,16 +2346,16 @@
|
||||||
<title>Trim the Root Filesystem</title>
|
<title>Trim the Root Filesystem</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Root filesystem is made up of packages for booting, libraries,
|
The root filesystem is made up of packages for booting,
|
||||||
and applications.
|
libraries, and applications.
|
||||||
To change things you can configure how the packaging happens,
|
To change things you can configure how the packaging happens,
|
||||||
which changes the way you build them.
|
which changes the way you build them.
|
||||||
You can also tweak the filesystem itself or select a different
|
You can also tweak the filesystem itself or select a different
|
||||||
file system.
|
filesystem.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
First, check out what is hogging your file system running the
|
First, check out what is hogging your root filesystem running the
|
||||||
<filename>dirsize.py</filename> script from your root directory:
|
<filename>dirsize.py</filename> script from your root directory:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ cd <root-directory-of-image>
|
$ cd <root-directory-of-image>
|
||||||
|
@ -2405,8 +2405,9 @@
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Finally, you should consider exactly what filesystem you need
|
Finally, you should consider exactly the type of root
|
||||||
to meet your needs while also reducing size.
|
filesystem you need to meet your needs while also reducing
|
||||||
|
its size.
|
||||||
For example, consider <filename>cramfs</filename>,
|
For example, consider <filename>cramfs</filename>,
|
||||||
<filename>squashfs</filename>, <filename>ubifs</filename>,
|
<filename>squashfs</filename>, <filename>ubifs</filename>,
|
||||||
<filename>ext2</filename>, or an <filename>initramfs</filename>
|
<filename>ext2</filename>, or an <filename>initramfs</filename>
|
||||||
|
@ -3285,7 +3286,7 @@
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Before starting your debugging session, you need to enter
|
Before starting your debugging session, you need to enter
|
||||||
the following to set your sysroot filesystem location
|
the following to set your root filesystem location
|
||||||
by using a command with this form:
|
by using a command with this form:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
set sysroot <your-sysroot-path>
|
set sysroot <your-sysroot-path>
|
||||||
|
@ -3299,7 +3300,7 @@
|
||||||
<para>
|
<para>
|
||||||
To launch the host GDB, you need to source the
|
To launch the host GDB, you need to source the
|
||||||
cross-debugging environment script, which if you installed
|
cross-debugging environment script, which if you installed
|
||||||
the sysroot filesystem in the default location is at
|
the root filesystem in the default location is at
|
||||||
<filename>/opt/poky/&DISTRO;</filename> and begins with the
|
<filename>/opt/poky/&DISTRO;</filename> and begins with the
|
||||||
string "environment-setup".
|
string "environment-setup".
|
||||||
</para>
|
</para>
|
||||||
|
|
Loading…
Reference in New Issue