Changeset a3af16f for chapter06/kernfs.xml
- Timestamp:
- 10/21/2013 08:43:55 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- f2a5108
- Parents:
- c34291a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/kernfs.xml
rc34291a ra3af16f 69 69 <para>Now mount the remaining virtual kernel filesystems:</para> 70 70 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 72 72 mount -vt proc proc $LFS/proc 73 73 mount -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> 74 102 75 103 <para>In some host systems, <filename>/dev/shm</filename> is a
Note:
See TracChangeset
for help on using the changeset viewer.