mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 21:49:13 +00:00
8ef599c59a
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
28 lines
859 B
XML
28 lines
859 B
XML
<sect1 id="ch04-creatingfs">
|
|
<title>Creating a file system on the new partition</title>
|
|
|
|
<para>
|
|
Once the partition is created, we have to create a new file system on
|
|
that partition. The standard file system used these days is the ext2
|
|
file system, but the socalled journaling file systems are becoming
|
|
increasingly popular too. It's of course up to you to decide which file
|
|
system you want to create, but because we have to assume and work with
|
|
something, we will assume you chose the ext2 file system.
|
|
</para>
|
|
|
|
<para>
|
|
To create an ext2 file system, use the mke2fs command. The LFS partition
|
|
is used as the only option to the command and the file system is created.
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
<userinput>mke2fs /dev/xxx</userinput>
|
|
</literallayout></blockquote>
|
|
|
|
<para>
|
|
Replace "xxx" by the partition's designation (like hda11).
|
|
</para>
|
|
|
|
</sect1>
|
|
|