mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-01 11:52:31 +00:00
64df8d1626
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@370 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
35 lines
843 B
XML
35 lines
843 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. To create an ext2 file system, use the mke2fs command.
|
|
To create a reiser file system, the mkreiserfs command should be used.
|
|
The new partition is used as the only option to the command and the file
|
|
system is created. If the partition is hda11 and ext2 is to be created,
|
|
run the following:
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
|
|
<userinput>mke2fs /dev/xxx</userinput>
|
|
|
|
</literallayout></blockquote>
|
|
|
|
<para>
|
|
To create a reiser file system, run the following:
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
|
|
<userinput>mkreiserfs /dev/xxx</userinput>
|
|
|
|
</literallayout></blockquote>
|
|
|
|
<para>
|
|
Replace "xxx" by the partition's designation (like hda11).
|
|
</para>
|
|
|
|
</sect1>
|
|
|