Ignore:
Timestamp:
10/21/2013 08:43:55 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
f2a5108
Parents:
c34291a
Message:

Merge latest trunk updates to systemd branch

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/kernfs.xml

    rc34291a ra3af16f  
    6969      <para>Now mount the remaining virtual kernel filesystems:</para>
    7070
    71 <screen><userinput>mount -vt devpts devpts $LFS/dev/pts
     71<screen><userinput>mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
    7272mount -vt proc proc $LFS/proc
    7373mount -vt sysfs sysfs $LFS/sys</userinput></screen>
     74
     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>
    74102
    75103      <para>In some host systems, <filename>/dev/shm</filename> is a
Note: See TracChangeset for help on using the changeset viewer.