creatingfs.xml 902 B

1234567891011121314151617181920
  1. <sect1 id="ch04-creatingfs">
  2. <title>Creating a file system on the new partition</title>
  3. <?dbhtml filename="creatingfs.html" dir="chapter04"?>
  4. <para>Now the partition has been made, we can create a file system on it.
  5. Most widely used in the Linux world is the second extended file system (ext2),
  6. but with the high-capacity hard disks of today the so-called journaling file
  7. systems are becoming increasingly popular. Here we will create an ext2 file
  8. system, but build instructions for other file systems can be found at <ulink
  9. url="http://beyond.linuxfromscratch.org/view/cvs/postlfs/filesystems.html"/>.</para>
  10. <para>To create an ext2 file system on the LFS partition run the following:</para>
  11. <para><screen><userinput>mke2fs /dev/xxx</userinput></screen></para>
  12. <para>Replace <filename>xxx</filename> with the name of the LFS partition
  13. (something like <filename>hda5</filename>).</para>
  14. </sect1>