diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-09-02 15:46:18 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-09-02 15:46:18 +0000 |
commit | 4bc6304e662f1ea1806a9828d85a0866f5751f8e (patch) | |
tree | dce11eb4ca5d09e93d0fd26153d705165bf5b6ab /chapter06/makedev-inst.xml | |
parent | 54eee9df478c297f508b69fcb3ebfa456d73e0ab (diff) |
Symlink sh to bash, and bash to /static/bin/bash. Shortened some cp commands. Changed call to less so SGR will work.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/makedev-inst.xml')
-rw-r--r-- | chapter06/makedev-inst.xml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml index 6fa63a064..a5d093dc5 100644 --- a/chapter06/makedev-inst.xml +++ b/chapter06/makedev-inst.xml @@ -1,13 +1,12 @@ <sect2> <title>Creating devices</title> -<para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not an archive, so it -won't create a directory for you to cd into.</para> +<para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not +an archive, so it won't create a directory for you to cd into.</para> <para>Create the device files by running the following commands:</para> -<para><screen><userinput>ln -s /static/bin/bash /bin/bash && -cp MAKEDEV-&makedev-version; /dev/MAKEDEV && +<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV && cd /dev && chmod 754 MAKEDEV</userinput></screen></para> @@ -15,12 +14,10 @@ chmod 754 MAKEDEV</userinput></screen></para> can run one of two commands:</para> <para>If you do not intend to use devpts, run:</para> -<para><screen><userinput>./MAKEDEV -v generic && -rm /bin/bash</userinput></screen></para> +<para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para> <para>If you do intend to use devpts, then run:</para> -<para><screen><userinput>./MAKEDEV -v generic-nopty && -rm /bin/bash</userinput></screen></para> +<para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para> <para>Note that if you aren't sure, it's best to use the <userinput>./MAKEDEV -v generic</userinput> command as this will |