Changeset 4ca79662


Ignore:
Timestamp:
09/22/2022 08:24:38 PM (19 months ago)
Author:
David Bryant <davidbryant@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
9011f2d2
Parents:
58f92b0
Message:

Corrected grammar / idiom / punctuation.
Also added an introduction explaining what a file system does.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/creatingfilesystem.xml

    r58f92b0 r4ca79662  
    1111  <title>Creating a File System on the Partition</title>
    1212
    13   <para>Now that a blank partition has been set up, the file system can be
    14   created.  LFS can use any file system recognized by the Linux kernel, but the
    15   most common types are ext3 and ext4.  The choice of file system can be
    16   complex and depends on the characteristics of the files and the size of
     13  <para>A partition is just a range of sectors on a disk drive, delimited by
     14  boundaries set in a partition table. Before the operating system can use
     15  a blank partition, the partition must be formatted to contain a file
     16  system, typically consisting of a label, directory blocks, data blocks, and
     17  an indexing scheme to locate a particular file on demand. The file system
     18  also helps the OS keep track of free space on the partition, reserve the
     19  needed sectors when a new file is created or an existing file is extended,
     20  and recycle the free data segments created when files are deleted. It may
     21  also provide support for data redundancy, and for error recovery.</para>
     22 
     23  <para>LFS can use any file system recognized by the Linux kernel, but the
     24  most common types are ext3 and ext4.  The choice of the right file system can be
     25  complex; it depends on the characteristics of the files and the size of
    1726  the partition.  For example:</para>
    1827
     
    3443    <varlistentry>
    3544      <term>ext4</term>
    36       <listitem><para>is the latest version of the ext file system family of
    37       partition types.  It provides several new capabilities including
    38       nano-second timestamps, creation and use of very large files (16 TB), and
    39       speed improvements.</para>
     45      <listitem><para>is the latest version of the ext family of
     46      file systems.  It provides several new capabilities including
     47      nano-second timestamps, creation and use of very large files
     48      (up to 16 TB), and speed improvements.</para>
    4049      </listitem>
    4150    </varlistentry>
     
    4352
    4453  <para>Other file systems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
    45   useful for specialized purposes.  More information about these file systems
    46   can be found at <ulink
     54  useful for specialized purposes. More information about these file systems,
     55  and many others, can be found at <ulink
    4756  url="https://en.wikipedia.org/wiki/Comparison_of_file_systems"/>.</para>
    4857
    49   <para>LFS assumes that the root file system (/) is of type ext4.  To create
     58  <para>LFS assumes that the root file system (/) is of type ext4. To create
    5059  an <systemitem class="filesystem">ext4</systemitem> file system on the LFS
    51   partition, run the following:</para>
     60  partition, issue the following command:</para>
    5261
    5362<screen role="nodump"><userinput>mkfs -v -t ext4 /dev/<replaceable>&lt;xxx&gt;</replaceable></userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.