clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 26d1934 was 27e1607, checked in by Jeremy Utley <jerutley@…>, 18 years ago |
Mount --bind host /dev to LFS's dev on chroot builds - fixes ticket #27
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 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>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2>
|
---|
[27e1607] | 18 | <title>Mounting Additional Kernel Filesystems</title>
|
---|
[3f8be484] | 19 |
|
---|
[27e1607] | 20 | <para>Mount the proper virtual (kernel) file systems on the
|
---|
[3f8be484] | 21 | newly-created directories:</para>
|
---|
| 22 |
|
---|
[94e6142] | 23 | <screen><userinput>mount -vt devpts -o gid=4,mode=620 none /dev/pts
|
---|
| 24 | mount -vt tmpfs none /dev/shm</userinput></screen>
|
---|
[3f8be484] | 25 |
|
---|
| 26 | <para>The <command>mount</command> commands executed above may result
|
---|
| 27 | in the following warning message:</para>
|
---|
| 28 |
|
---|
| 29 | <screen><computeroutput>can't open /etc/fstab: No such file or directory.</computeroutput></screen>
|
---|
| 30 |
|
---|
| 31 | <para>This file—<filename>/etc/fstab</filename>—has not
|
---|
| 32 | been created yet but is also not required for the file systems to be
|
---|
| 33 | properly mounted. As such, the warning can be safely ignored.</para>
|
---|
| 34 |
|
---|
| 35 | </sect2>
|
---|
| 36 |
|
---|
| 37 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.