blob: 67555739a9a12ae349c745f24dfb88fcdacd7567 (
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
|
<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. If you want to create an ext2 file system, use the mke2fs
command. If you want to create a reiser file system, use the mkreiserfs
command. If you want to create a different kind of file system, use the
appropriate command. Enter the new partition as the only option to the
command and the file system will be created. If your partition is hda2
and you want ext2 you would run:
</para>
<blockquote><literallayout>
<userinput>mke2fs /dev/hda2</userinput>
</literallayout></blockquote>
<para>
If you want reiserfs you would run:
</para>
<blockquote><literallayout>
<userinput>mkreiserfs /dev/hda2</userinput>
</literallayout></blockquote>
</sect1>
|