diff options
Diffstat (limited to 'chapter06/makedev-inst.xml')
-rw-r--r-- | chapter06/makedev-inst.xml | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml index 1beaec722..15308031b 100644 --- a/chapter06/makedev-inst.xml +++ b/chapter06/makedev-inst.xml @@ -3,11 +3,11 @@ <sect2> <title>Creating devices</title> -<para>Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file -doesn't create a directory for you to <userinput>cd</userinput> into, as -the file only contains a single shell script.</para> +<para>Note that unpacking the <filename>MAKEDEV-&makedev-version;.bz2</filename> +file doesn't create a directory for you to <userinput>cd</userinput> into, as +the file contains only a shell script.</para> -<para>Install the MAKEDEV script:</para> +<para>Install the <userinput>MAKEDEV</userinput> script:</para> <screen><userinput>bzcat MAKEDEV-&makedev-version;.bz2 > /dev/MAKEDEV chmod 754 /dev/MAKEDEV</userinput></screen> @@ -17,22 +17,23 @@ chmod 754 /dev/MAKEDEV</userinput></screen> <screen><userinput>cd /dev ./MAKEDEV -v generic-nopty</userinput></screen> -<para>The meaning of the option:</para> +<para>The meaning of the arguments:</para> <itemizedlist> -<listitem><para><userinput>-v generic-nopty</userinput>: The -<userinput>-v</userinput> parameter tells the MAKEDEV script to run in verbose -mode. The <userinput>generic-nopty</userinput> parameter instructs MAKEDEV to -create a generic selection of commonly used device special files, except for the -ptyXX and ttyXX range of files. We don't need those files because we are going -to use Unix98 PTYs via the <emphasis>devpts</emphasis> file -system.</para></listitem> +<listitem><para><userinput>-v</userinput>: This tells the script to run in +verbose mode.</para></listitem> + +<listitem><para><userinput>generic-nopty</userinput>: This instructs +<userinput>MAKEDEV</userinput> to create a generic selection of commonly used +device special files, except for the ptyXX and ttyXX range of files. We don't +need those files because we are going to use Unix98 PTYs via the +<emphasis>devpts</emphasis> file system.</para></listitem> </itemizedlist> -<para>If a device you need is missing, try running -<userinput>./MAKEDEV -v <device></userinput>. Alternatively, you may -create devices via the <emphasis>mknod</emphasis> program. Please refer to -the man and info pages of <emphasis>mknod</emphasis> if you need more +<para>If it turns out that some special device <filename>zzz</filename> that +you need is missing, try running <userinput>./MAKEDEV -v zzz</userinput>. +Alternatively, you may create devices via the <userinput>mknod</userinput> +program. Please refer to its man and info pages if you need more information.</para> <para>Additionally, if you were unable to mount the devpts filesystem earlier in |