aboutsummaryrefslogtreecommitdiffstats
path: root/chapter03/creatingfs.xml
blob: 04263cb5f8adbc32df4b0c4c5c82eb51cdc274ab (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
33
34
<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>