Changeset 1b40540


Ignore:
Timestamp:
08/16/2013 02:53:28 AM (11 years ago)
Author:
Bryan Kadzban <bryan@…>
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, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 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, 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:
39689b2, b5b97081
Parents:
7cb5659
Message:

Add explanatory text for new devpts mount options

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r7cb5659 r1b40540  
    4040      <itemizedlist>
    4141        <listitem>
     42          <para>[bryan] - Add explanation for new devpts mount
     43          options</para>
     44        </listitem>
     45        <listitem>
    4246          <para>[bdubbs] - Update several pages to fix regression
    4347          test failures.</para>
  • chapter06/kernfs.xml

    r7cb5659 r1b40540  
    7373mount -vt sysfs sysfs $LFS/sys</userinput></screen>
    7474
     75    <variablelist>
     76      <title>The meaning of the mount options for devpts:</title>
     77
     78      <varlistentry>
     79        <term><parameter>gid=5</parameter></term>
     80        <listitem>
     81          <para>This ensures that all devpts-created device nodes are owned by
     82          group ID 5.  This is the ID we will use later on for the <systemitem
     83          class="groupname">tty</systemitem> group.  We use the group ID instead
     84          of a name, since the host system might use a different ID for its
     85          <systemitem class="groupname">tty</systemitem> group.</para>
     86        </listitem>
     87      </varlistentry>
     88
     89      <varlistentry>
     90        <term><parameter>mode=0620</parameter></term>
     91        <listitem>
     92          <para>This ensures that all devpts-created device nodes have mode 0620
     93          (user readable and writable, group writable).  Together with the
     94          option above, this ensures that devpts will create device nodes that
     95          meet the requirements of grantpt(), meaning the Glibc
     96          <command>pt_chown</command> helper binary (which is not installed by
     97          default) is not necessary.</para>
     98        </listitem>
     99      </varlistentry>
     100
     101    </variablelist>
     102
    75103      <para>In some host systems, <filename>/dev/shm</filename> is a
    76104      symbolic link to <filename class="directory">/run/shm</filename>.
Note: See TracChangeset for help on using the changeset viewer.