From 4eea3b2a3ed2498bbd75123a3126a509213e4b51 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 28 Feb 2001 00:08:17 +0000 Subject: Made creation of file system more generic as ext2 isn't the only one used (reiserfs is often used too now) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@242 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter03/creatingfs.xml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'chapter03/creatingfs.xml') diff --git a/chapter03/creatingfs.xml b/chapter03/creatingfs.xml index 76bbe247f..6be252a47 100644 --- a/chapter03/creatingfs.xml +++ b/chapter03/creatingfs.xml @@ -1,16 +1,29 @@ -Creating a ext2 file system on the new partition +Creating a file system on the new partition -Once the partition is created, we have to create a new ext2 file system on -that partition. To create a new ext2 file system we use the mke2fs command. -Enter the new partition as the only option and the file system will be -created. If your partition is hda11, you would run: +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:
- mke2fs /dev/hda11 + mke2fs /dev/hda2 + +
+ + +If you want reiserfs you would run: + + +
+ + mkreiserfs /dev/hda2
-- cgit v1.2.3-54-g00ecf