mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-22 12:15:04 +01:00
Grammar fixes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@348 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
87c057b51b
commit
d251197d33
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Let's create the directory tree on the LFS partition according to the FHS
|
Let's create the directory tree on the LFS partition according to the FHS
|
||||||
standard which can be found at <ulink
|
standard, which can be found at <ulink
|
||||||
url="http://www.pathname.com/fhs/">http://www.pathname.com/fhs/</ulink>.
|
url="http://www.pathname.com/fhs/">http://www.pathname.com/fhs/</ulink>.
|
||||||
Issuing the following commands will create the necessary directories:
|
Issuing the following commands will create the necessary directories:
|
||||||
</para>
|
</para>
|
||||||
@ -35,16 +35,16 @@ Issuing the following commands will create the necessary directories:
|
|||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Normally directories are created with permission mode 755, which isn't
|
Normally, directories are created with permission mode 755, which isn't
|
||||||
desired for all directories. I haven't checked the FHS if they suggest
|
desired for all directories. I haven't checked if the FHS suggests
|
||||||
default modes for certain directories, so I'll just change the modes for
|
default modes for certain directories, so I'll just change the modes for
|
||||||
a few directories that make sense to change. The first change is a mode
|
a few directories that make sense to change. The first change is a mode
|
||||||
0750 for the $LFS/root directory. This is to make sure that not just
|
0750 for the $LFS/root directory. This is to make sure that not just
|
||||||
everybody can enter the /root directory (the same a user would do with
|
everybody can enter the /root directory (the same a user would do with
|
||||||
/home/username directories). The second change is a mode 1777 for the tmp
|
/home/username directories). The second change is a mode 1777 for the tmp
|
||||||
directories. This way every user can write stuff to the /tmp directory if
|
directories. This way, any user can write stuff to the /tmp directory when
|
||||||
they need to. The sticky (1) bit makes sure users can't delete other
|
needed. The sticky (1) bit makes sure users can't delete other
|
||||||
user's file which they normally can do because the directory is set in
|
users' files which they normally can do, because the directory is set in
|
||||||
such a way that everybody (owner, group, world) can write to that directory.
|
such a way that everybody (owner, group, world) can write to that directory.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ such a way that every body (owner, group, world) can write to that directory.
|
|||||||
<para>
|
<para>
|
||||||
Now that the directories are created, copy the source files that were
|
Now that the directories are created, copy the source files that were
|
||||||
downloaded in chapter 3 to some subdirectory under $LFS/usr/src (this
|
downloaded in chapter 3 to some subdirectory under $LFS/usr/src (this
|
||||||
directory needs to be created yet).
|
directory still needs to be created yet).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
@ -6,9 +6,9 @@ Once the partition is created, we have to create a new file system on
|
|||||||
that partition. To create an ext2 file system, the mke2fs command is the
|
that partition. To create an ext2 file system, the mke2fs command is the
|
||||||
correct choice. To create a reiser file system, the mkreiserfs command
|
correct choice. To create a reiser file system, the mkreiserfs command
|
||||||
should be used. To create a different kind of file system, the
|
should be used. To create a different kind of file system, the
|
||||||
appropriate command needs to be executed. The new partition used
|
appropriate command needs to be executed. The new partition is used
|
||||||
as the only option to the
|
as the only option to the
|
||||||
command and the file system will be created. If the partition is hda2
|
command and the file system is created. If the partition is hda2
|
||||||
and ext2 is to be created, the user would run:
|
and ext2 is to be created, the user would run:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user