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-04-14 02:10:15 +01:00
|
|
|
that partition. The standard file system used these days is the ext2
|
|
|
|
file system, but the socalled journaling file systems are becoming
|
|
|
|
increasingly popular too. It's of course up to you to decide which file
|
|
|
|
system you want to create, but because we have to assume and work with
|
|
|
|
something, we will assume you chose the ext2 file system.
|
2001-01-24 00:31:17 +00:00
|
|
|
</para>
|
|
|
|
|
2001-04-14 02:11:22 +01:00
|
|
|
<para>
|
2001-04-14 02:10:15 +01:00
|
|
|
To create an ext2 file system, use the mke2fs command. The LFS partition
|
|
|
|
is used as the only option to the command and the file system is created.
|
2001-02-28 00:08:17 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-28 00:43:52 +00:00
|
|
|
<blockquote><literallayout>
|
2001-04-14 02:10:15 +01:00
|
|
|
<userinput>mke2fs /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>
|
|
|
|
|