<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-chroot-devices">
  <?dbhtml filename="devices.html"?>

  <title>Mounting Kernel Filesystems</title>

  <indexterm zone="ch-chroot-devices">
    <primary sortas="e-/dev/*">/dev/*</primary>
  </indexterm>

  <sect2>
    <title>Mounting Additional Kernel Filesystems</title>

    <para>Mount the proper virtual (kernel) file systems on the
    newly-created directories:</para>

<screen><userinput>mount -vt devpts -o gid=4,mode=620 none /dev/pts
mount -vt tmpfs none /dev/shm</userinput></screen>

    <para>The <command>mount</command> commands executed above may result
    in the following warning message:</para>

<screen><computeroutput>can't open /etc/fstab: No such file or directory.</computeroutput></screen>

    <para>This file&mdash;<filename>/etc/fstab</filename>&mdash;has not
    been created yet but is also not required for the file systems to be
    properly mounted. As such, the warning can be safely ignored.</para>

  </sect2>

</sect1>
