mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-21 12:49:21 +01:00
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
21 lines
902 B
XML
21 lines
902 B
XML
<sect1 id="ch04-creatingfs">
|
|
<title>Creating a file system on the new partition</title>
|
|
<?dbhtml filename="creatingfs.html" dir="chapter04"?>
|
|
|
|
<para>Now the partition has been made, we can create a file system on it.
|
|
Most widely used in the Linux world is the second extended file system (ext2),
|
|
but with the high-capacity hard disks of today the so-called journaling file
|
|
systems are becoming increasingly popular. Here we will create an ext2 file
|
|
system, but build instructions for other file systems can be found at <ulink
|
|
url="http://beyond.linuxfromscratch.org/view/cvs/postlfs/filesystems.html"/>.</para>
|
|
|
|
<para>To create an ext2 file system on the LFS partition run the following:</para>
|
|
|
|
<para><screen><userinput>mke2fs /dev/xxx</userinput></screen></para>
|
|
|
|
<para>Replace <filename>xxx</filename> with the name of the LFS partition
|
|
(something like <filename>hda5</filename>).</para>
|
|
|
|
</sect1>
|
|
|