Changeset 6a9875d
- Timestamp:
- 10/06/2002 03:50:25 PM (22 years ago)
- 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, v4_1, v5_0, 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:
- a47ad43
- Parents:
- 6b8e9e9
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
appendixa/bootscripts-desc.xml
r6b8e9e9 r6a9875d 18 18 <sect4><title>cleanfs</title> 19 19 <para>The cleanfs script removes files that shouldn't be preserved between 20 reboots, such as /var/run/* , /var/lock/*, it re-creates /var/run/utmp and21 removes the possibl epresent /etc/nologin, /fastboot and /forcefsck20 reboots, such as /var/run/* and /var/lock/*. It re-creates /var/run/utmp and 21 removes the possibly present /etc/nologin, /fastboot and /forcefsck 22 22 files.</para></sect4> 23 23 24 24 <sect4><title>functions</title> 25 <para>The functions script contains shared functionsamong different25 <para>The functions script contains functions shared among different 26 26 scripts such as error checking, status checking, etc.</para></sect4> 27 27 … … 34 34 35 35 <sect4><title>loadkeys</title> 36 <para>The loadkeys script loads the proper keymap table that matches your37 keyboard layout.</para></sect4>36 <para>The loadkeys script loads the keymap table you specified as proper for 37 your keyboard layout.</para></sect4> 38 38 39 39 <sect4><title>localnet</title> … … 49 49 50 50 <sect4><title>network</title> 51 <para>The network script sets up network interfaces (such as network cards)51 <para>The network script sets up network interfaces, such as network cards, 52 52 and sets up the default gateway where applicable.</para></sect4> 53 53 54 54 <sect4><title>rc</title> 55 <para>The rc script is the master runlevel control script whichis55 <para>The rc script is the master runlevel control script. It is 56 56 responsible for running all the other scripts one-by-one in a specific 57 57 sequence.</para></sect4> … … 73 73 74 74 <sect4><title>sysklogd</title> 75 <para>The sysklogd script start and stops the system and kernel log75 <para>The sysklogd script starts and stops the system and kernel log 76 76 daemons.</para></sect4> 77 77 -
appendixa/make-desc.xml
r6b8e9e9 r6a9875d 9 9 10 10 <sect4><title>make</title> 11 <para>make determines automaticallywhich pieces of a large program need to be12 recompiled ,and issues the commands to recompile them.</para></sect4>11 <para>make determines, automatically, which pieces of a large program need to be 12 recompiled and issues the commands to recompile them.</para></sect4> 13 13 14 14 </sect3> -
appendixa/netkitbase-desc.xml
r6b8e9e9 r6a9875d 9 9 10 10 <sect4><title>inetd</title> 11 <para>inetd is the mother of all daemons. It listens for connections ,and11 <para>inetd is the mother of all daemons. It listens for connections and 12 12 transfers the call to the appropriate daemon.</para></sect4> 13 13 -
appendixa/patch-desc.xml
r6b8e9e9 r6a9875d 10 10 <sect4><title>patch</title> 11 11 <para>The patch program modifies a file according to a patch file. A patch 12 file usually is a list created by the diff programthat contains12 file usually is a list, created by the diff program, that contains 13 13 instructions on how an original file needs to be modified. Patch is used 14 14 a lot for source code patches since it saves time and space. Imagine 15 15 a package that is 1 MB in size. The next version of that package 16 16 only has changes in two files of the first version. It can be shipped as an 17 entirely new package of 1 MB or just as a patch file of 1 KB which will17 entirely new package of 1 MB or just as a patch file of 1 KB, which will 18 18 update the first version to make it identical to the second version. So 19 19 if the first version was downloaded already, a patch file avoids -
appendixa/procps-desc.xml
r6b8e9e9 r6a9875d 38 38 <sect4><title>tload</title> 39 39 <para>tload prints a graph of the current system load average to the 40 specified tty (or the tty of the tload process if41 none is specified).</para></sect4>40 specified tty or, if none is specified, the tty of the tload 41 process.</para></sect4> 42 42 43 43 <sect4><title>top</title> … … 47 47 <sect4><title>vmstat</title> 48 48 <para>vmstat reports information about processes, memory, paging, block IO, 49 traps ,and cpu activity.</para></sect4>49 traps and cpu activity.</para></sect4> 50 50 51 51 <sect4><title>w</title> 52 <para>w displays information about the users currently on the machine, and53 their processes.</para></sect4>52 <para>w displays information about the users, and their processes, 53 currently on the machine.</para></sect4> 54 54 55 55 <sect4><title>watch</title> -
appendixa/shadowpwd-desc.xml
r6b8e9e9 r6a9875d 30 30 31 31 <sect4><title>dpasswd</title> 32 <para>dpasswd adds, deletes ,and updates dial-up passwords for32 <para>dpasswd adds, deletes and updates dial-up passwords for 33 33 user login shells.</para></sect4> 34 34 … … 37 37 38 38 <sect4><title>faillog</title> 39 <para>faillog formats the contents of the failure log, /var/log/faillog, and39 <para>faillog formats the contents of the failure log, /var/log/faillog, and 40 40 maintains failure counts and limits.</para></sect4> 41 41 … … 73 73 <sect4><title>lastlog</title> 74 74 <para>lastlog formats and prints the contents of the last login log, 75 /var/log/lastlog. The login-name, port ,and last login time will be75 /var/log/lastlog. The login-name, port and last login time will be 76 76 printed.</para></sect4> 77 77 … … 115 115 116 116 <sect4><title>useradd</title> 117 <para>useradd creates a new user or update default new user117 <para>useradd creates a new user or updates default new user 118 118 information.</para></sect4> 119 119 -
appendixa/sysklogd-desc.xml
r6b8e9e9 r6a9875d 14 14 <sect4><title>syslogd</title> 15 15 <para>syslogd provides the kind of logging that many modern programs use. Every 16 logged message contains at least a time and a hostname field , normally a17 program name field, too , but that depends on how trusty the logging16 logged message contains at least a time and a hostname field and, normally, a 17 program name field, too. But that depends on how trusty the logging 18 18 program is.</para></sect4> 19 19 -
appendixa/sysvinit-desc.xml
r6b8e9e9 r6a9875d 12 12 13 13 <sect4><title>halt</title> 14 <para>halt notes that the system is being brought down in the file15 /var/log/wtmp, and then either tells the kernel tohalt, reboot or14 <para>halt notes, in the file /var/log/wtmp, that the system is being 15 brought down and then tells the kernel to either halt, reboot or 16 16 poweroff the system. If halt or reboot is called when the system is not 17 17 in runlevel 0 or 6, shutdown will be invoked instead (with … … 21 21 <para>init is the parent of all processes. Its primary role is to create 22 22 processes from a script stored in the file /etc/inittab. This 23 file usually has entries which cause init to spawn gettys on each line that24 users can log in. It also controls autonomous processes required by any23 file usually has entries which cause init to spawn gettys on each line from 24 which users can log in. It also controls autonomous processes required by any 25 25 particular system.</para></sect4> 26 26 … … 57 57 58 58 <sect4><title>runlevel</title> 59 <para>runlevel reads the system utmp file ( typically /var/run/utmp) to locate60 the runlevel record , and thenprints the previous and current system59 <para>runlevel reads the system utmp file (usually /var/run/utmp), locates 60 the runlevel record and prints the previous and current system 61 61 runlevel on its standard output, separated by a single space.</para></sect4> 62 62 63 63 <sect4><title>shutdown</title> 64 64 <para>shutdown brings the system down in a secure way. All logged-in users are 65 notified that the system is going down ,and login is blocked.</para></sect4>65 notified that the system is going down and login is blocked.</para></sect4> 66 66 67 67 <sect4><title>sulogin</title> … … 73 73 <sect4><title>telinit</title> 74 74 <para>telinit sends appropriate signals to init, telling it which runlevel to 75 change to.</para></sect4>75 enter.</para></sect4> 76 76 77 77 <sect4><title>utmpdump</title> … … 80 80 81 81 <sect4><title>wall</title> 82 <para>wall sends a message to everybody logged in withtheir mesg permission82 <para>wall sends a message to logged in users that have their mesg permission 83 83 set to yes.</para></sect4> 84 84 -
appendixa/tar-desc.xml
r6b8e9e9 r6a9875d 9 9 10 10 <sect4><title>rmt</title> 11 <para>rmt is a program used by the remote dump and restore programs in12 manipulat inga magnetic tape drive through an interprocess communication11 <para>rmt is a program used by the remote dump and restore programs to 12 manipulate a magnetic tape drive through an interprocess communication 13 13 connection.</para></sect4> 14 14 -
appendixa/utillinux-desc.xml
r6b8e9e9 r6a9875d 65 65 66 66 <sect4><title>elvtune</title> 67 <para>elvtune allows totune the I/O elevator per block device queue67 <para>elvtune lets you tune the I/O elevator per block device queue 68 68 basis.</para></sect4> 69 69 … … 90 90 91 91 <sect4><title>hwclock</title> 92 <para>hwclock queries and sets the hardware clock ( Also called the RTC or BIOS92 <para>hwclock queries and sets the hardware clock (also called the RTC or BIOS 93 93 clock).</para></sect4> 94 94 … … 100 100 101 101 <sect4><title>isosize</title> 102 <para>isosize outputs the length of a iso9660 file system.</para></sect4>102 <para>isosize outputs the length of an iso9660 file system.</para></sect4> 103 103 104 104 <sect4><title>line</title> … … 123 123 124 124 <sect4><title>mkfs.bfs</title> 125 <para>mkfs.bfs creates a SCO bfs file system on a device, usually a harddisk125 <para>mkfs.bfs creates an SCO bfs file system on a device, usually a harddisk 126 126 partition.</para></sect4> 127 127 … … 141 141 142 142 <sect4><title>mount</title> 143 <para>mount mounts a filesystem from a device to a directory (mount144 point).</para></sect4>143 <para>mount mounts, from many possible sources, filesystems or directories 144 on a directory (mount point).</para></sect4> 145 145 146 146 <sect4><title>namei</title> … … 164 164 165 165 <sect4><title>rdev</title> 166 <para>rdev queries and sets image root device, swap device, RAM disk size ,or166 <para>rdev queries and sets image root device, swap device, RAM disk size or 167 167 video mode.</para></sect4> 168 168 … … 184 184 185 185 <sect4><title>script</title> 186 <para>script makes typescript of terminal session.</para></sect4>186 <para>script makes a typescript of terminal session.</para></sect4> 187 187 188 188 <sect4><title>setfdprm</title> 189 <para>setfdprm sets user-provide sfloppy disk parameters.</para></sect4>189 <para>setfdprm sets user-provided floppy disk parameters.</para></sect4> 190 190 191 191 <sect4><title>setsid</title> … … 212 212 213 213 <sect4><title>umount</title> 214 <para>umount unmounts a mounted filesystem .</para></sect4>214 <para>umount unmounts a mounted filesystem or directory.</para></sect4> 215 215 216 216 <sect4><title>vidmode</title> … … 222 222 223 223 <sect4><title>write</title> 224 <para>write sends a message to another user.</para></sect4> 224 <para>write sends a message to another user, if that user has writing 225 enabled (usually by using mesg).</para></sect4> 225 226 226 227 </sect3> -
chapter01/changelog.xml
r6b8e9e9 r6a9875d 4 4 5 5 <para>&version; - &releasedate;</para> 6 7 <itemizedlist> 8 9 <listitem><para>October 6th, 2002 [timothy]: Chapter 06 - Applied Bill 10 Maltby's grammatic-fixes patch.</para></listitem> 11 12 </itemizedlist> 6 13 7 14 <para>4.0 - October 5th, 2002</para> -
chapter06/config-glibc.xml
r6b8e9e9 r6a9875d 3 3 <para>We need to create the /etc/nsswitch.conf file. Although glibc should 4 4 provide defaults when this file is missing or corrupt, its defaults don't work 5 well with networking which will bedealt with in a later chapter. Also, our5 well with networking. That is dealt with in a later chapter. Also, our 6 6 timezone needs to be set up.</para> 7 7 -
chapter06/config-keyboard.xml
r6b8e9e9 r6a9875d 19 19 the keymap directly into the kernel. This will make sure that your 20 20 keyboard always works as expected, even when you have booted into 21 maintenance mode (by passing `init=/bin/sh' to the kernel) in which case21 maintenance mode (by passing `init=/bin/sh' to the kernel), in which case 22 22 the bootscript that normally sets up your keymap isn't run.</para> 23 23 -
chapter06/config-ldso.xml
r6b8e9e9 r6a9875d 9 9 directories other than <filename class="directory">/lib</filename> and 10 10 <filename class="directory">/usr/lib</filename>, you need to add them to 11 the <filename>/etc/ld.so.conf</filename> file in orderfor the dynamic11 the <filename>/etc/ld.so.conf</filename> file for the dynamic 12 12 loader to find them. Two directories that are commonly known to contain 13 13 additional libraries are <filename -
chapter06/config-shadowpwd.xml
r6b8e9e9 r6a9875d 1 1 <sect2><title>Configuring Shadow Password Suite</title> 2 2 3 <para>This package contains utilities to modify users' spasswords, add3 <para>This package contains utilities to modify users' passwords, add 4 4 or delete users and groups, and the like. We're not going to explain 5 5 what 'password shadowing' means. A full explanation can be found in the doc/HOWTO -
chapter06/config-vim.xml
r6b8e9e9 r6a9875d 1 1 <sect2><title>Configuring Vim</title> 2 2 3 <para>By default vim runs in vi compatible mode. Some people might like this,3 <para>By default, vim runs in vi compatible mode. Some people might like this, 4 4 but we have a high preference to run vim in vim mode (else we wouldn't 5 5 have included vim in this book, but the original vi). Create the -
chapter06/create-utmp.xml
r6b8e9e9 r6a9875d 4 4 5 5 <para>Programs like login, shutdown, uptime and others want to read from and 6 write to the /var/run/utmp /var/log/btmp and /var/log/wtmp. These files contain7 information about who is currently logged in. It also containsinformation6 write to the /var/run/utmp, /var/log/btmp and /var/log/wtmp. These files contain 7 information about who is currently logged in. They also contain information 8 8 on when the computer was last booted and shutdown and a record of the 9 9 bad login attempts.</para> -
chapter06/procps-exp.xml
r6b8e9e9 r6a9875d 7 7 This will set the Makefile variable XSCPT to an empty value so that 8 8 the XConsole installation is disabled. Otherwise "Make install" tries to 9 copy the file XConsole to /usr/X11R6/lib/X11/app-defaults. And that directory10 does not exist ,because X is not installed.</para>9 copy the file XConsole to /usr/X11R6/lib/X11/app-defaults. That directory 10 does not exist because X is not installed.</para> 11 11 12 12 </sect2> -
chapter06/psmisc-inst.xml
r6b8e9e9 r6a9875d 10 10 <para>Psmisc installs the 11 11 <filename>/usr/share/man/man1/pidof.1</filename> man page, but Psmisc's 12 pidof program isn't installed by default. Generally this isn't a problem,13 because we install the Sysvinit package later onwhich provides12 pidof program isn't installed by default. Generally, this isn't a problem 13 because we later install the Sysvinit package, which provides 14 14 a better pidof program.</para> 15 15 16 16 <para>It's up to you now to decide if you are going to use the Sysvinit 17 package which provides a pidof program, or not. If you are going to, you17 package, which provides a pidof program, or not. If you are going to, you 18 18 should remove Psmisc's pidof man page by running:</para> 19 19 -
chapter06/shadowpwd-exp.xml
r6b8e9e9 r6a9875d 3 3 4 4 <para><userinput>cp limits login.access /etc:</userinput> These files 5 were not installed during the installation of the package so we copy6 them manually asthose files are used to configure authentication5 were not installed during the installation of the package, so we copy 6 them manually because those files are used to configure authentication 7 7 details on the system.</para> 8 8 -
chapter06/shadowpwd-inst.xml
r6b8e9e9 r6a9875d 4 4 <para>Before you install this package, you may want to have a look at 5 5 the Shadow hint. It discusses how you can make your system more secure 6 regarding passwords, such as how to enable the more secure MD5 passwords ,6 regarding passwords, such as how to enable the more secure MD5 passwords 7 7 and how to get the most out of this Shadow package. The Shadow hint can 8 8 be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para> -
chapter06/sysvinit-inst.xml
r6b8e9e9 r6a9875d 2 2 <title>Installation of Sysvinit</title> 3 3 4 <para>When run levels are changed (for example, when halting the system) 4 <para>When run levels are changed (for example, when halting the system), 5 5 init sends the TERM and KILL signals to the processes which it started. 6 6 init prints "Sending processes the TERM signal" to the screen. This seems -
chapter06/tar-inst.xml
r6b8e9e9 r6a9875d 5 5 use the tar 6 6 patch available from the LFS FTP site. This patch will add the -j option 7 to tar which works the same as the -z option to tar (which can be used 8 for gzip files).</para> 7 to tar, which works the same as the -z option used for gzip files.</para> 9 8 10 9 <para>Apply the patch by running the following command:</para> -
chapter06/utillinux-inst.xml
r6b8e9e9 r6a9875d 2 2 <title>FHS compliance notes</title> 3 3 4 <para>The FHS recommends that we use /var/lib/hwclock as the location of the5 adjtime file, instead of the usual /etc. To make hwclock, which is part of the 6 util-linux package, FHS-compliant, run the following.</para>4 <para>The FHS recommends that we use /var/lib/hwclock, instead of the 5 usual /etc, as the location of the adjtime file. To make hwclock, which 6 is part of the util-linux package, FHS-compliant, run the following.</para> 7 7 8 8 <para><screen><userinput>cp hwclock/hwclock.c{,.backup} && -
index.xml
r6b8e9e9 r6a9875d 5 5 <!ENTITY book SYSTEM "book/book.xml"> 6 6 7 <!ENTITY version "2002100 5">8 <!ENTITY releasedate "October 5th, 2002">7 <!ENTITY version "20021006"> 8 <!ENTITY releasedate "October 6th, 2002"> 9 9 10 10 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
Note:
See TracChangeset
for help on using the changeset viewer.