[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-bootable-fstab">
|
---|
| 9 | <?dbhtml filename="fstab.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Creating the /etc/fstab File</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-bootable-fstab">
|
---|
| 14 | <primary sortas="e-/etc/fstab">/etc/fstab</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[dabbced] | 17 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 18 | href="../common/fstab.xml"
|
---|
| 19 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 20 |
|
---|
| 21 | <screen><userinput>cat > /etc/fstab << "EOF"
|
---|
| 22 | <literal># Begin /etc/fstab
|
---|
| 23 |
|
---|
| 24 | # file system mount-point type options dump fsck
|
---|
| 25 | # order
|
---|
| 26 |
|
---|
| 27 | /dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
|
---|
| 28 | /dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
|
---|
| 29 | proc /proc proc defaults 0 0
|
---|
| 30 | sysfs /sys sysfs defaults 0 0
|
---|
| 31 | devpts /dev/pts devpts gid=10,mode=620 0 0
|
---|
| 32 | shm /dev/shm tmpfs defaults 0 0
|
---|
[97a96f1] | 33 | tmpfs /run tmpfs defaults 0 0
|
---|
| 34 | devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
|
---|
[3f8be484] | 35 | # End /etc/fstab</literal>
|
---|
| 36 | EOF</userinput></screen>
|
---|
| 37 |
|
---|
[dabbced] | 38 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 39 | href="../common/fstab.xml"
|
---|
| 40 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 41 |
|
---|
[dabbced] | 42 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 43 | href="../common/fstab.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 45 |
|
---|
| 46 | </sect1>
|
---|