mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
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
This commit is contained in:
parent
c81e81ce3b
commit
4eea3b2a3e
@ -1,16 +1,29 @@
|
||||
<sect1 id="ch04-creatingfs">
|
||||
<title>Creating a ext2 file system on the new partition</title>
|
||||
<title>Creating a file system on the new partition</title>
|
||||
|
||||
<para>
|
||||
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:
|
||||
</para>
|
||||
|
||||
<blockquote><literallayout>
|
||||
|
||||
<userinput>mke2fs /dev/hda11</userinput>
|
||||
<userinput>mke2fs /dev/hda2</userinput>
|
||||
|
||||
</literallayout></blockquote>
|
||||
|
||||
<para>
|
||||
If you want reiserfs you would run:
|
||||
</para>
|
||||
|
||||
<blockquote><literllayout>
|
||||
|
||||
<userinput>mkreiserfs /dev/hda2</userinput>
|
||||
|
||||
</literallayout></blockquote>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user