source: chapter02/creatingfilesystem.xml@ dc6acb5

Last change on this file since dc6acb5 was dc6acb5, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

In DocBook-NG the replacement for <ulink> is a new definition of <link>.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4544 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xlink="http://www.w3.org/1999/xlink"
8 xml:id="space-creatingfilesystem">
9<title>Creating a file system</title>
10<?dbhtml filename="creatingfilesystem.html"?>
11
12<para>Now that we have a blank partition, we can create a file system on it.
13Most widely used in the Linux world is the second extended file system (ext2),
14but with the high-capacity hard disks of today the so-called journaling file
15systems are becoming increasingly popular. Here we will create an ext2 file
16system, but build instructions for other file systems can be found at
17<link xlink:href="&blfs-root;view/stable/postlfs/filesystems.html">&blfs-root;view/stable/postlfs/filesystems.html</link>.</para>
18
19<para>To create an ext2 file system on the LFS partition run the following:</para>
20
21<screen><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>
22
23<para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS partition
24(something like <filename>hda5</filename>).</para>
25
26<para>If you created a (new) swap partition you need to initialize it as a
27swap partition too (also known as formatting, like you did above with
28<command>mke2fs</command>) by running:</para>
29
30<screen><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen>
31
32<para>Replace <replaceable>[yyy]</replaceable> with the name of the swap
33partition.</para>
34
35</section>
Note: See TracBrowser for help on using the repository browser.