Changeset 5cd6caa for chapter06


Ignore:
Timestamp:
02/10/2004 10:06:21 PM (20 years ago)
Author:
Alex Gronenwoud <alex@…>
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, 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_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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
c91dd5b
Parents:
418e6cc
Message:

Another mix of minor text adjustments.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3247 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter06/chapter06.xml

    r418e6cc r5cd6caa  
    313313<para>The created groups aren't part of any standard -- they are some of the
    314314groups that the <command>make_devices</command> script in the next section
    315 uses. The LSB (<ulink url="http://www.linuxbase.org">Linux Standard
     315uses. The LSB (<ulink url="http://www.linuxbase.org/">Linux Standard
    316316Base</ulink>) recommends only that, beside the group "root" with a GID of 0, a
    317317group "bin" with a GID of 1 be present. All other group names and GIDs can
  • chapter06/makedev.xml

    r418e6cc r5cd6caa  
    2828
    2929<para>Device nodes are special files: things that can generate or receive data.
    30 They usually correspond to physical pieces of hardware, and can be created by
    31 issuing commands of the form: <command>mknod -m mode name type major
     30They usually correspond to physical pieces of hardware. Device nodes can be
     31created by issuing commands of the form: <command>mknod -m mode name type major
    3232minor</command>. In such a command, <emphasis>mode</emphasis> is the usual
    3333octal read/write/execute permissions triplet, and <emphasis>name</emphasis> is
     
    3535device name is actually arbitrary, except that most programs rely on devices
    3636such as <filename>/dev/null</filename> having their usual names. The remaining
    37 three parameters tell the kernel what piece of hardware the device node
     37three parameters tell the kernel what device the node
    3838actually refers to. The <emphasis>type</emphasis> is a letter, either b or c,
    3939indicating whether the device is accessed in blocks (such as a hard disk) or
     
    4545kernel sources.</para>
    4646
    47 <para>Note that the same major/minor combination are usually assigned to both a
     47<para>Note that the same major/minor combination is usually assigned to both a
    4848block and a character device. These are, however, completely unrelated devices
    4949that cannot be interchanged. A device is identified by the type/major/minor
     
    8080and ttyXX device nodes. To do this, open <filename>make_devices</filename> in
    8181your editor, go to the section "Pseudo-TTY masters" and enable as many ptyXX
    82 devices as you think you will need (one for every active xterm, ssh connection,
    83 telnet connection, and so on). In the immediately following section "Pseudo-TTY
    84 slaves", enable the corresponding ttyXX devices. When you are done, rerun
    85 <command>./make_devices</command> from inside <filename>/dev</filename> to have
    86 it create the new devices.</para>
     82devices as you think you will need (every xterm, ssh connection, telnet
     83connection, and the like, uses one of these pseudo terminals). In the
     84immediately following section "Pseudo-TTY slaves", enable the corresponding
     85ttyXX devices. When you are done, rerun <command>./make_devices</command> from
     86inside <filename>/dev</filename> to have it create the new devices.</para>
    8787
    8888</sect2>
Note: See TracChangeset for help on using the changeset viewer.