diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-07-06 15:25:48 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-07-06 15:25:48 +0000 |
commit | 11ce06ae65258859cc43ab338e2a81f880b011e4 (patch) | |
tree | 5beb41dca40b1fa68041dfd0c86d981387c5af42 /chapter03 | |
parent | e3f06c0127185ea72d51f06fe812031e459df463 (diff) |
Removed indentation from commands (from <blockquote><literallayout> to
<para><screen>
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@760 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter03')
-rw-r--r-- | chapter03/creatingdirs.xml | 63 | ||||
-rw-r--r-- | chapter03/creatingfs.xml | 8 | ||||
-rw-r--r-- | chapter03/mounting.xml | 16 |
3 files changed, 46 insertions, 41 deletions
diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml index 969b51859..d581f3ffd 100644 --- a/chapter03/creatingdirs.xml +++ b/chapter03/creatingdirs.xml @@ -8,33 +8,30 @@ url="http://www.pathname.com/fhs/">http://www.pathname.com/fhs/</ulink>. Issuing the following commands will create a default directory layout: </para> -<blockquote><literallayout> - <userinput>cd $LFS</userinput> - <userinput>mkdir -p bin boot dev/pts etc/opt home lib mnt proc - root sbin tmp var opt</userinput> - <userinput>for dirname in $LFS/usr $LFS/usr/local</userinput> - <userinput><literal> do</literal></userinput> - <userinput> mkdir $dirname</userinput> - <userinput> cd $dirname</userinput> - <userinput> mkdir bin etc include lib sbin share - src var</userinput> - <userinput> ln -s share/man man</userinput> - <userinput> ln -s share/doc doc</userinput> - <userinput> ln -s share/info info</userinput> - <userinput> cd $dirname/share</userinput> - <userinput> mkdir dict doc info locale man nls misc - terminfo zoneinfo</userinput> - <userinput> cd $dirname/share/man</userinput> - <userinput> mkdir man{1,2,3,4,5,6,7,8}</userinput> - <userinput>done</userinput> - <userinput>cd $LFS/var</userinput> - <userinput>mkdir -p lock log mail run spool tmp opt cache lib/misc - local</userinput> - <userinput>cd $LFS/opt</userinput> - <userinput>mkdir bin doc include info lib man</userinput> - <userinput>cd $LFS/usr</userinput> - <userinput>ln -s ../var/tmp tmp</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>cd $LFS</userinput> +<userinput>mkdir -p bin boot dev/pts etc/opt home lib mnt proc root sbin tmp var opt</userinput> +<userinput>for dirname in $LFS/usr $LFS/usr/local</userinput> +<userinput><literal> do</literal></userinput> +<userinput> mkdir $dirname</userinput> +<userinput> cd $dirname</userinput> +<userinput> mkdir bin etc include lib sbin share src var</userinput> +<userinput> ln -s share/man man</userinput> +<userinput> ln -s share/doc doc</userinput> +<userinput> ln -s share/info info</userinput> +<userinput> cd $dirname/share</userinput> +<userinput> mkdir dict doc info locale man nls misc terminfo zoneinfo</userinput> +<userinput> cd $dirname/share/man</userinput> +<userinput> mkdir man{1,2,3,4,5,6,7,8}</userinput> +<userinput>done</userinput> +<userinput>cd $LFS/var</userinput> +<userinput>mkdir -p lock log mail run spool tmp opt cache lib/misc local</userinput> +<userinput>cd $LFS/opt</userinput> +<userinput>mkdir bin doc include info lib man</userinput> +<userinput>cd $LFS/usr</userinput> +<userinput>ln -s ../var/tmp tmp</userinput> +</screen></para> <para> Normally, directories are created with permission mode 755, which isn't @@ -47,11 +44,13 @@ directory but cannot remove another user's files (the latter is caused by the so-called "sticky bit" - bit 1 of the 1777 bit mask). </para> -<blockquote><literallayout> - <userinput>cd $LFS &&</userinput> - <userinput>chmod 0750 root &&</userinput> - <userinput>chmod 1777 tmp var/tmp</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>cd $LFS &&</userinput> +<userinput>chmod 0750 root &&</userinput> +<userinput>chmod 1777 tmp var/tmp</userinput> +</screen> +</para> <para> Now that the directories are created, copy the source files that were diff --git a/chapter03/creatingfs.xml b/chapter03/creatingfs.xml index 14028202d..00130a99b 100644 --- a/chapter03/creatingfs.xml +++ b/chapter03/creatingfs.xml @@ -15,9 +15,11 @@ 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> -<blockquote><literallayout> - <userinput>mke2fs /dev/xxx</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>mke2fs /dev/xxx</userinput> +</screen> +</para> <para> Replace "xxx" by the partition's designation (like hda11). diff --git a/chapter03/mounting.xml b/chapter03/mounting.xml index 562706186..d6c3b08e5 100644 --- a/chapter03/mounting.xml +++ b/chapter03/mounting.xml @@ -14,17 +14,21 @@ directory is chosen, just make sure you remember what you chose. Create the /mnt/lfs directory by running: </para> -<blockquote><literallayout> - <userinput>mkdir -p /mnt/lfs</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>mkdir -p /mnt/lfs</userinput> +</screen> +</para> <para> Now mount the LFS partition by running: </para> -<blockquote><literallayout> - <userinput>mount /dev/xxx /mnt/lfs</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>mount /dev/xxx /mnt/lfs</userinput> +</screen> +</para> <para> Replace <quote>xxx</quote> by the partition's designation (like hda11). |