2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch04-creatingfs">
|
2001-02-28 00:08:17 +00:00
|
|
|
<title>Creating a file system on the new partition</title>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
<para>
|
2001-02-28 00:08:17 +00:00
|
|
|
Once the partition is created, we have to create a new file system on
|
2001-03-23 03:13:31 +00:00
|
|
|
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:
|
2001-01-24 00:31:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<blockquote><literallayout>
|
|
|
|
|
2001-03-28 14:00:22 +01:00
|
|
|
<userinput>mke2fs /dev/xxx</userinput>
|
2001-02-28 00:08:17 +00:00
|
|
|
|
|
|
|
</literallayout></blockquote>
|
|
|
|
|
|
|
|
<para>
|
2001-03-23 03:13:31 +00:00
|
|
|
To create a reiser file system, run the following:
|
2001-02-28 00:08:17 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-28 00:43:52 +00:00
|
|
|
<blockquote><literallayout>
|
2001-02-28 00:08:17 +00:00
|
|
|
|
2001-03-28 14:00:22 +01:00
|
|
|
<userinput>mkreiserfs /dev/xxx</userinput>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</literallayout></blockquote>
|
|
|
|
|
2001-03-28 14:00:22 +01:00
|
|
|
<para>
|
|
|
|
Replace "xxx" by the partition's designation (like hda11).
|
|
|
|
</para>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
|
|
|
|