Changeset 360e2c4 for chapter06/makedev-inst.xml
- Timestamp:
- 10/22/2003 10:26:46 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- e91936a
- Parents:
- 1612f40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/makedev-inst.xml
r1612f40 r360e2c4 4 4 <title>Creating devices</title> 5 5 6 <para> Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file7 doesn't create a directory for you to <userinput>cd</userinput> into, as8 the file only contains a singleshell script.</para>6 <para>Note that unpacking the <filename>MAKEDEV-&makedev-version;.bz2</filename> 7 file doesn't create a directory for you to <userinput>cd</userinput> into, as 8 the file contains only a shell script.</para> 9 9 10 <para>Install the MAKEDEVscript:</para>10 <para>Install the <userinput>MAKEDEV</userinput> script:</para> 11 11 12 12 <screen><userinput>bzcat MAKEDEV-&makedev-version;.bz2 > /dev/MAKEDEV … … 18 18 ./MAKEDEV -v generic-nopty</userinput></screen> 19 19 20 <para>The meaning of the option:</para>20 <para>The meaning of the arguments:</para> 21 21 22 22 <itemizedlist> 23 <listitem><para><userinput>-v generic-nopty</userinput>: The 24 <userinput>-v</userinput> parameter tells the MAKEDEV script to run in verbose 25 mode. The <userinput>generic-nopty</userinput> parameter instructs MAKEDEV to 26 create a generic selection of commonly used device special files, except for the 27 ptyXX and ttyXX range of files. We don't need those files because we are going 28 to use Unix98 PTYs via the <emphasis>devpts</emphasis> file 29 system.</para></listitem> 23 <listitem><para><userinput>-v</userinput>: This tells the script to run in 24 verbose mode.</para></listitem> 25 26 <listitem><para><userinput>generic-nopty</userinput>: This instructs 27 <userinput>MAKEDEV</userinput> to create a generic selection of commonly used 28 device special files, except for the ptyXX and ttyXX range of files. We don't 29 need those files because we are going to use Unix98 PTYs via the 30 <emphasis>devpts</emphasis> file system.</para></listitem> 30 31 </itemizedlist> 31 32 32 <para>If a device you need is missing, try running33 <userinput>./MAKEDEV -v <device></userinput>. Alternatively, you may 34 create devices via the <emphasis>mknod</emphasis> program. Please refer to 35 the man and info pages of <emphasis>mknod</emphasis>if you need more33 <para>If it turns out that some special device <filename>zzz</filename> that 34 you need is missing, try running <userinput>./MAKEDEV -v zzz</userinput>. 35 Alternatively, you may create devices via the <userinput>mknod</userinput> 36 program. Please refer to its man and info pages if you need more 36 37 information.</para> 37 38
Note:
See TracChangeset
for help on using the changeset viewer.