creatingfs.xml 858 B

1234567891011121314151617181920212223242526272829303132
  1. <sect1 id="ch04-creatingfs">
  2. <title>Creating a file system on the new partition</title>
  3. <para>
  4. Once the partition is created, we have to create a new file system on
  5. that partition. To create an ext2 file system, the mke2fs command is the
  6. correct choice. To create a reiser file system, the mkreiserfs command
  7. should be used. To create a different kind of file system, the
  8. appropriate command needs to be executed. The new partition is used
  9. as the only option to the
  10. command and the file system is created. If the partition is hda2
  11. and ext2 is to be created, the user would run:
  12. </para>
  13. <blockquote><literallayout>
  14. <userinput>mke2fs /dev/hda2</userinput>
  15. </literallayout></blockquote>
  16. <para>
  17. To use reiserfs the user would run:
  18. </para>
  19. <blockquote><literallayout>
  20. <userinput>mkreiserfs /dev/hda2</userinput>
  21. </literallayout></blockquote>
  22. </sect1>