blob: 3eef6c460b325f176f6a987af796768d0ac1474d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<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, the mke2fs command is the
correct choice. To create a reiser file system, the mkreiserfs command
should be used. To create a different kind of file system, the
appropriate command needs to be executed. The new partition is used
as the only option to the
command and the file system is created. If the partition is hda2
and ext2 is to be created, the user would run:
</para>
<blockquote><literallayout>
<userinput>mke2fs /dev/hda2</userinput>
</literallayout></blockquote>
<para>
To use reiserfs the user would run:
</para>
<blockquote><literallayout>
<userinput>mkreiserfs /dev/hda2</userinput>
</literallayout></blockquote>
</sect1>
|