Changeset 61ce0b1 for chapter06/createfiles.xml
- Timestamp:
- 06/14/2014 07:51:45 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- c09761a
- Parents:
- 6f34f43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/createfiles.xml
r6f34f43 r61ce0b1 47 47 ln -sv bash /bin/sh</userinput></screen> 48 48 49 <variablelist> 50 <title>The purpose of each link:</title> 51 52 <varlistentry> 53 <term><parameter><filename>/bin/bash</filename></parameter></term> 54 <listitem> 55 <para>Many <command>bash</command> scripts specify 56 <filename>/bin/bash</filename>.</para> 57 </listitem> 58 </varlistentry> 59 60 <varlistentry> 61 <term><parameter><filename>/bin/cat</filename></parameter></term> 62 <listitem> 63 <para>This pathname is hard-coded into Glibc's configure script.</para> 64 </listitem> 65 </varlistentry> 66 67 <varlistentry> 68 <term><parameter><filename>/bin/echo</filename></parameter></term> 69 <listitem> 70 <para>This is to satisfy one of the tests in Glibc's test suite, which 71 expects <filename>/bin/echo</filename>.</para> 72 </listitem> 73 </varlistentry> 74 75 <varlistentry> 76 <term><parameter><filename>/bin/pwd</filename></parameter></term> 77 <listitem> 78 <para>Some <command>configure</command> scripts, particularly Glibc's, 79 have this pathname hard-coded.</para> 80 </listitem> 81 </varlistentry> 82 83 <varlistentry> 84 <term><parameter><filename>/bin/stty</filename></parameter></term> 85 <listitem> 86 <para>This pathname is hard-coded into Expect, therefore it is needed 87 for Binutils and GCC test suites to pass.</para> 88 </listitem> 89 </varlistentry> 90 91 <varlistentry> 92 <term><parameter><filename>/usr/bin/perl</filename></parameter></term> 93 <listitem> 94 <para>Many Perl scripts hard-code this path to the 95 <command>perl</command> program.</para> 96 </listitem> 97 </varlistentry> 98 99 <varlistentry> 100 <term><parameter><filename>/usr/lib/libgcc_s.so{,.1}</filename></parameter></term> 101 <listitem> 102 <para>Glibc needs this for the pthreads library to work.</para> 103 </listitem> 104 </varlistentry> 105 106 <varlistentry> 107 <term><parameter><filename>/usr/lib/libstdc++{,.6}</filename></parameter></term> 108 <listitem> 109 <para>This is needed by several tests in Glibc's test suite, as well as 110 for C++ support in GMP.</para> 111 </listitem> 112 </varlistentry> 113 114 <varlistentry> 115 <term><parameter><filename>/usr/lib/libstdc++.la</filename></parameter></term> 116 <listitem> 117 <para>This prevents a <filename class="directory">/tools</filename> 118 reference that would otherwise be in 119 <filename>/usr/lib/libstdc++.la</filename> after GCC is installed.</para> 120 </listitem> 121 </varlistentry> 122 123 <varlistentry> 124 <term><parameter><filename>/bin/sh</filename></parameter></term> 125 <listitem> 126 <para>Many shell scripts hard-code <filename>/bin/sh</filename>.</para> 127 </listitem> 128 </varlistentry> 129 130 </variablelist> 131 49 132 <para>Historically, Linux maintains a list of the mounted file systems in the 50 133 file <filename>/etc/mtab</filename>. Modern kernels maintain this list … … 67 150 <literal>root:x:0:0:root:/root:/bin/bash 68 151 bin:x:1:1:bin:/dev/null:/bin/false 152 daemon:x:6:6:Daemon User:/dev/null:/bin/false 69 153 messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false 70 154 nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal> … … 79 163 <screen><userinput>cat > /etc/group << "EOF" 80 164 <literal>root:x:0: 81 bin:x:1: 165 bin:x:1:daemon 82 166 sys:x:2: 83 167 kmem:x:3: … … 98 182 systemd-journal:x:23: 99 183 mail:x:34: 100 nogroup:x:99:</literal> 184 nogroup:x:99: 185 users:x:999:</literal> 101 186 EOF</userinput></screen> 102 187 … … 104 189 decided on in part by the requirements of the Udev configuration in this 105 190 chapter, and in part by common convention employed by a number of existing 106 Linux distributions. The Linux Standard Base (LSB, available at <ulink 191 Linux distributions. In addition, some test suites rely on specific users 192 or groups. The Linux Standard Base (LSB, available at <ulink 107 193 url="http://www.linuxbase.org"/>) recommends only that, besides the group 108 194 <systemitem class="groupname">root</systemitem> with a Group ID (GID) of 0,
Note:
See TracChangeset
for help on using the changeset viewer.