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-09-26 00:48:31 +01:00
|
|
|
<?dbhtml filename="creatingfs.html" dir="chapter04"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>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
|
2001-08-29 18:13:41 +01:00
|
|
|
file system, but the so-called journaling file systems are becoming
|
2001-04-14 02:10:15 +01:00
|
|
|
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
|
2001-07-22 20:45:10 +01:00
|
|
|
something, we will assume you chose the ext2 file system.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>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.</para>
|
2001-02-28 00:08:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><screen><userinput>mke2fs /dev/xxx</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Replace "xxx" by the partition's designation (like hda11).</para>
|
2001-03-28 14:00:22 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
|
|
|
|