source: BOOK/chroot/common/devices.xml@ c8cab44

clfs-3.0.0-sysvinit sysvinit
Last change on this file since c8cab44 was 1028eb8, checked in by Chris Staub <chris@…>, 11 years ago

Add secondary sort lines to reduce confusion in the index

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-chroot-devices">
9 <?dbhtml filename="devices.html"?>
10
[27e1607]11 <title>Mounting Kernel Filesystems</title>
[3f8be484]12
13 <indexterm zone="ch-chroot-devices">
14 <primary sortas="e-/dev/*">/dev/*</primary>
[1028eb8]15 <secondary>chroot</secondary>
[3f8be484]16 </indexterm>
17
18 <sect2>
[27e1607]19 <title>Mounting Additional Kernel Filesystems</title>
[3f8be484]20
[27e1607]21 <para>Mount the proper virtual (kernel) file systems on the
[3f8be484]22 newly-created directories:</para>
23
[8f1ae86]24<screen><userinput>mount -vt devpts -o gid=&gid-tty;,mode=620 none /dev/pts
[94e6142]25mount -vt tmpfs none /dev/shm</userinput></screen>
[3f8be484]26
27 <para>The <command>mount</command> commands executed above may result
28 in the following warning message:</para>
29
30<screen><computeroutput>can't open /etc/fstab: No such file or directory.</computeroutput></screen>
31
32 <para>This file&mdash;<filename>/etc/fstab</filename>&mdash;has not
[704c543]33 been created yet (unless using the boot method), but is also not required
34 for the file systems to be properly mounted. The warning can be safely
35 ignored.</para>
[3f8be484]36
37 </sect2>
38
39</sect1>
Note: See TracBrowser for help on using the repository browser.