mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-09 15:39:51 +00:00
Corrected grammar / idiom / punctuation.
Also added an introduction explaining what a file system does.
This commit is contained in:
parent
58f92b0647
commit
4ca7966259
@ -10,10 +10,19 @@
|
|||||||
|
|
||||||
<title>Creating a File System on the Partition</title>
|
<title>Creating a File System on the Partition</title>
|
||||||
|
|
||||||
<para>Now that a blank partition has been set up, the file system can be
|
<para>A partition is just a range of sectors on a disk drive, delimited by
|
||||||
created. LFS can use any file system recognized by the Linux kernel, but the
|
boundaries set in a partition table. Before the operating system can use
|
||||||
most common types are ext3 and ext4. The choice of file system can be
|
a blank partition, the partition must be formatted to contain a file
|
||||||
complex and depends on the characteristics of the files and the size of
|
system, typically consisting of a label, directory blocks, data blocks, and
|
||||||
|
an indexing scheme to locate a particular file on demand. The file system
|
||||||
|
also helps the OS keep track of free space on the partition, reserve the
|
||||||
|
needed sectors when a new file is created or an existing file is extended,
|
||||||
|
and recycle the free data segments created when files are deleted. It may
|
||||||
|
also provide support for data redundancy, and for error recovery.</para>
|
||||||
|
|
||||||
|
<para>LFS can use any file system recognized by the Linux kernel, but the
|
||||||
|
most common types are ext3 and ext4. The choice of the right file system can be
|
||||||
|
complex; it depends on the characteristics of the files and the size of
|
||||||
the partition. For example:</para>
|
the partition. For example:</para>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
@ -33,22 +42,22 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>ext4</term>
|
<term>ext4</term>
|
||||||
<listitem><para>is the latest version of the ext file system family of
|
<listitem><para>is the latest version of the ext family of
|
||||||
partition types. It provides several new capabilities including
|
file systems. It provides several new capabilities including
|
||||||
nano-second timestamps, creation and use of very large files (16 TB), and
|
nano-second timestamps, creation and use of very large files
|
||||||
speed improvements.</para>
|
(up to 16 TB), and speed improvements.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>Other file systems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
|
<para>Other file systems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
|
||||||
useful for specialized purposes. More information about these file systems
|
useful for specialized purposes. More information about these file systems,
|
||||||
can be found at <ulink
|
and many others, can be found at <ulink
|
||||||
url="https://en.wikipedia.org/wiki/Comparison_of_file_systems"/>.</para>
|
url="https://en.wikipedia.org/wiki/Comparison_of_file_systems"/>.</para>
|
||||||
|
|
||||||
<para>LFS assumes that the root file system (/) is of type ext4. To create
|
<para>LFS assumes that the root file system (/) is of type ext4. To create
|
||||||
an <systemitem class="filesystem">ext4</systemitem> file system on the LFS
|
an <systemitem class="filesystem">ext4</systemitem> file system on the LFS
|
||||||
partition, run the following:</para>
|
partition, issue the following command:</para>
|
||||||
|
|
||||||
<screen role="nodump"><userinput>mkfs -v -t ext4 /dev/<replaceable><xxx></replaceable></userinput></screen>
|
<screen role="nodump"><userinput>mkfs -v -t ext4 /dev/<replaceable><xxx></replaceable></userinput></screen>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user